50
submitted 2 months ago by Apytele@sh.itjust.works to c/asklemmy@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] xia 2 points 2 months ago* (last edited 2 months ago)

I would whole-heartedly recommend Robert Martin's clean coding lecture series. It may be many hours of your life, but it is free on youtube and well worth the time. I don't exactly recall what he says about testing in his lectures, but it's probably pretty close. If nothing else, it will teach you to critically consider programming structure in the abstract (instead of following formulae), and to write code with the intent for it to be read and maintained by humans.

I think he also has a series that includes "structured programming" (like early return vs deep nesting), but was unable to find it last time I looked for it. I recall having a shocked epiphany when he (i THINK it was Martin) demonstrated the exact way to clean up a function, that started out ugly, and ended up being reduced to literally nothing (the function was removed).

[-] arality@programming.dev 1 points 2 months ago

Awesome thank you!

this post was submitted on 06 Jun 2024
50 points (96.3% liked)

Asklemmy

43027 readers
1681 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS