Ask Lemmy
A Fediverse community for open-ended, thought provoking questions
Rules: (interactive)
1) Be nice and; have fun
Doxxing, trolling, sealioning, racism, toxicity and dog-whistling are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them
2) All posts must end with a '?'
This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?
3) No spam
Please do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.
4) NSFW is okay, within reason
Just remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com.
NSFW comments should be restricted to posts tagged [NSFW].
5) This is not a support community.
It is not a place for 'how do I?', type questions.
If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.
6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !askusa@discuss.online
Reminder: The terms of service apply here too.
Partnered Communities:
Logo design credit goes to: tubbadu
view the rest of the comments
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.
What do you mean by scaffolding something new? If it's writing all the boilerplate for the framework and dependencies, that's exactly what I don't care about. I use AI now and copy paste in the past.
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:
ng new buttonscd buttonsng serveI 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.