25+ yr Java/JS dev
Linux novice - running Ubuntu (no windows/mac)

  • 0 Posts
  • 20 Comments
Joined 2 years ago
cake
Cake day: October 14th, 2024

help-circle



  • Ironically in this case the bug was in the MVC controller and fixed as part of a ports-and-adapters AOP audit implementation. MVC isn’t immune to it. It was a controller endpoint calling another controller endpoint, because someone was doing a bit of business logic there rather than in the service.

    Yes, had they implemented MVC properly they wouldn’t have done that. Anyway your point is well taken but as it happens in this case, the deities of irony conspired against you today.








  • It’s not wrong the vast majority of the time. In fact, it’s petty damn good at explaining principles and giving feedback on code, but it doesn’t read minds, and so it can be wrong sometimes. It sometimes tells you you’re wrong while explaining the exact same thing you just told it back to it.

    People can be wrong, too. I just saw a teacher explain something wrong in my daughter’s online school video. She had the right answer but explained it wrong and confused my daughter. I think it’s fine to prefer human assistance, but AI is really good at having infinite patience and stepping back and covering fundamentals when you aren’t ready to understand a thing.

    My point is: however you find the answers you are seeking when confused, keep seeking. Keep asking questions. Keep experimenting.




  • When I got into computer programming my only exposure was various flavors of BASIC and I think one Pascal class. The first time I took a Java course in college, I failed it because I could not understand object oriented programming.

    Then I bought a couple of books on the concept, followed the exercises verbatim and then started trying to change things to understand what was safe and what broke things. Anyway, I’ve been doing this professionally for thirty years now.

    When I needed to understand new concepts (to me) like functional programming or design patterns, YouTube was very helpful. You cite it as unhelpful, but I suspect you haven’t fully internalized the concepts required to make those videos click into place. Until you’ve done some things with your own hands, it’s hard to understand why an unfamiliar thing exists or what complexities it solves.

    Kafka, to grab an example, just accepts data from one program and delivers it to other programs that want it. It sounds like the easiest thing in the world and anyone could just write that for themselves until you experience some of the edge cases it handles for you.

    Basically my answer is hands-on following examples and breaking them and understand why they broke.