Lemmy.InButts.LOL
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
codeinabox@programming.dev to Programming@programming.devEnglish · 6 days ago

"Code was never the hard part" is an insult to all programmers

blog.senko.net

external-link
message-square
41
link
fedilink
159
external-link

"Code was never the hard part" is an insult to all programmers

blog.senko.net

codeinabox@programming.dev to Programming@programming.devEnglish · 6 days ago
message-square
41
link
fedilink
The software development profession is in the midst of upheaval. Nobody knows how the AI revolution will play out in the end, but it is c...
  • misery mansion@lemmy.world
    link
    fedilink
    arrow-up
    39
    ·
    6 days ago

    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

    • Feathercrown@lemmy.world
      link
      fedilink
      English
      arrow-up
      15
      ·
      5 days ago

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

      • HaraldvonBlauzahn@feddit.org
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        20 hours ago

        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…

        • https://gist.github.com/pooya-raz/59aa46460f72f994f204a861c7342b4b (Bob Martins Code, which he can’t explain when interviewed by Ousterhout)

        • https://www.cs.tufts.edu/~nr/cs257/archive/literate-programming/01-knuth-lp.pdf (Knuths beautiful explanation of the algorithm invented by Dijkstra, using and demonstrating Knuth’s fantastic “Literate Programming” method)

        • https://pure.tue.nl/ws/files/2408738/252825.pdf (Dijkstra’s original code and explanation, a gem of computer science history, where among other things he introduces the concept of invariants)

        • https://github.com/johnousterhout/aposd-vs-clean-code (Ousterhouts interview with Martin, after publishing A Philosophy of Software Design)

        • Feathercrown@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          20 hours ago

          Fascinating

      • esa@discuss.tchncs.de
        link
        fedilink
        arrow-up
        4
        ·
        4 days ago

        Possibly you’re thinking about https://qntm.org/clean

        • Feathercrown@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          4 days ago

          Yes thank you!

    • cactusupyourbutt@lemmy.world
      link
      fedilink
      arrow-up
      19
      arrow-down
      1
      ·
      6 days ago

      the advice still checks out though imho. dont treat it as dogma, but as useful guidelines.

      maybe dont buy the book though

    • PastelKeystone@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      5 days ago

      I have been happy to recommend Sandi Metz books instead.

      99 Bottles of OOP and POODR are excellent books and include many of the same ideas.

      • HaraldvonBlauzahn@feddit.org
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        23 hours ago

        Good Books on the essence of OOP!

        I now think that useful OOP is mostly about invariants.

Programming@programming.dev

programming@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 373 users / day
  • 1.76K users / week
  • 3.69K users / month
  • 8.54K users / 6 months
  • 1 local subscriber
  • 28.1K subscribers
  • 3.34K Posts
  • 47.3K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • UlrikHD@programming.dev
  • bugsmith@programming.dev
  • Spyro@programming.dev
  • BE: 0.19.19
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org