you are viewing a single comment's thread
view the rest of the comments
[–] 39 points 2 months ago (8 children)

One thing to know about Clean Code is that the author is a hard right MAGA dickhead now, so if that is important to you then seek a more modern source of advice. A lot of the things he advocates for about code obviously aren't dripping in right wing rhetoric, but if you look at his socials you might feel quite turned off.

Worth saying the comment I'm replying to is not wrong IMHO

  • source
  • parent
  • hideshow 8 child comments
  • [–] 15 points 2 months ago* (4 children)

    The finer details of the coding advice in Clean Code is also insane. There's a good summary of it but I forgor where

  • source
  • parent
  • hideshow 4 child comments
  • [–] 2 points 1 month ago* (last edited 1 month ago) (1 child)

    The finer details of the coding advice in Clean Code is also insane. There’s a good summary of it but I forgor where.

    See

    https://github.com/johnousterhout/aposd-vs-clean-code

    By the way, "Uncle Bob"s prime number generator example discussed there (which Bob Martin, as he admits himself, does not understands any more in spite of that he himself published it in "Clean Code") was originally designed and published by nobody less than Edsger Dijkstra and was used as an Example of Literate Programming by Don Knuth.

    They are giants on whose shoulders we are standing. It is totally worth it reading first Dijkstra's Chapter, then Don Knuth's text, and then John Ousterhout's discussion of Martin's rewrite (linked above).

    Or perhaps starting with Martins code and see if you understand it....

  • source
  • parent
  • hideshow 1 child comment