News for hackers. Stuff that matters.
Re:Ask HN: What was being a software developer like about 30... by mikrl on Monday October 31, 2022 @11:59AM (#33407658)
Would you say the GoF are more descriptive than prescriptive?

That is, not “do these to write good code” but “well written code looks like this”

Re:Ask HN: What was being a software developer like about 30... by munificent on Monday October 31, 2022 @02:20PM (#33410170)
It is meta-prescriptive.

It doesn't say, "Do this to make your code better." It says, "If you have this specific problem under these constraints, then this can help."

Re:Ask HN: What was being a software developer like about 30... by black3r on Monday October 31, 2022 @04:34PM (#33412607)
definitely yes, I'd even go as far as to say they're just exemplary, meaning "well written code can look (for example) like this", but since they became "industry standards", they help your code be understood (either by other people, or by you when you eventually forget how/why you wrote it that way), which helps speed up code review and make it easier to maintain / refactor old code...