Developer and refugee from Reddit

  • 5 Posts
  • 201 Comments
Joined 3 years ago
cake
Cake day: July 2nd, 2023

help-circle

  • No, I don’t mean writing all the boilerplate. It’s simpler than that.

    Just to take a random example, let’s say the throwaway project you decide to do is build a custom button component in Angular. The steps would be something like this:

    1. ng new buttons
    2. (Answer prompts)
    3. cd buttons
    4. ng serve
    5. (Create a custom button component in the new project)

    I chose Angular because these days the CLI for it does almost everything for you. It’s absurdly easy, and is the sort of thing it may actually be slower to ask an AI to do, because the AI will absolutely try to create a bunch of things in the project itself rather than through the CLI. And it will use Angular patterns from 2024 rather than anything current (such as Signals), because of its training data.

    Not only is doing something like this (in whatever language you prefer) good practice for keeping your practical skills, it’s a good reminder that AI is only one tool in the toolbox. If it becomes your only tool, well… The old saying about how if all you have is a hammer everything looks like a nail applies.


  • Leet code is good for making sure you still have a good grasp of programming conceptually, but I don’t think it’s good for testing your own practical skills.

    Seriously, just take an hour or two to scaffold out something new. Doesn’t have to be complicated, just something to confirm for yourself that you can still do it. The only rule is to do it without AI.

    When I did it myself, it was after months of my work requiring me to use AI, and there was a moment at the start where I was tempted to just fire up Copilot and tell it to do the work, which - of course - would have defeated the purpose. It was that moment where I realized I was addicted, and needed to go cold turkey.

    Now I do the bare minimum with AI I’m required to at work, and focus on crafting my code carefully, by hand as much as possible. And it shows. My code quality has improved.



  • It’s almost certainly also making your code worse.

    It’s not impossible to use AI effectively (although I would argue it’s impossible to use large “frontier” models ethically, as the companies making them are burning the planet down to power the process), but you have to be extremely vigilant and thoughtful about what you’re using it for, and you have to review every single line of code it produces, or you’re going to miss bugs and you’re going to lose skills.

    A good way to test yourself is to see if you can still scaffold out an application by hand. Doesn’t matter what… A to-do list, some buttons, whatever. Just test yourself to see if you can still do it.

    If you can’t, then you’ve lost the skills necessary to be certain that what you’re producing with AI is actually good.

    And if the idea of testing yourself like this makes you uncomfortable? Then AI isn’t a tool you use, it’s an addiction.









  • A bitter lesson in all of this is that the universe isn’t fundamentally fair or just. Sometimes, bastards like Bannon get away with shit and never suffer any consequences for it, and there isn’t even a hell for him to suffer in after he dies on a mountain of booze and ill-gotten gains.

    And that’s why it’s up to us - always up to us - to impose fairness and justice on the universe.

    It’s also why the price of freedom is vigilance. Somewhere along the way, a huge chunk of us became apathetic. We stopped voting. We stopped giving a shit. Which is exactly what the Bannons, the Trumps, and the rest of those shitheads wanted.