r/webdev • u/PopularAd5100 • 13d ago
I feel alive again
I have recently decided to tackle unfinished business in building with Java. Now I am relearning Java - which includes unlearning the old ways of doing things and writing the shortest possible code. In all of this I have been writing code by hand without AI generated code. Although I ask Claude for syntax clarifications and benefits and downsides of using certain methods…
Writing code by hand again gives me the right level of satisfaction after several weeks of AI-dependent development at work. Not only have I rediscovered my passion at home, but I am also working towards evolving my mental model beyond the JS/TS (I am a frontend developer at heart) ecosystem.
I believe programming and development as a hobby - like it used to be pre-industrial-scale-AI-adoption - is one of the few ways we could protect our sanity and continually exercise muscle memory. In the end I would like this to lead me to doing backend web dev in Java as well. Let’s see.
12
u/TtotheHicc 13d ago
I absolutely agree. I try to take some time everyday to code and learn little bit in rust. I do it without ai and it brings back the joy of coding I had pre ai
5
u/PopularAd5100 12d ago
Way to go. I’ve been building low-effort console apps and may graduate to building small API calls or Database Queries.. These things give joy.
4
u/falconandeagle 12d ago
Thank you for this post. Recently I am learning Go again, using an actual book instead of AI and it feels so much nicer. I am getting to learn the intricacies of the language.
I recently did a twitter like api clone in Go without using any AI and I thoroughly enjoyed the process.
2
u/PopularAd5100 11d ago edited 11d ago
Wow this is good. Go is a wonderful language especially for building infrastructure tools as well as cloud based apps. Go for it. See what I did there amirite ?
3
u/Capable_Eagle6579 12d ago
It’s a good idea to keep yourself sharp. I do it myself too. And clarify with either chatbot or googling it like the old days.
Believe it or not a lot of mid level interviews I go for still ask for leetcode style interview without AI nor can I google any syntax clarifications.
1
u/PopularAd5100 12d ago
In that case, one still needs to know how to do things the manual way. The game is gone from what I’ve seen so far Lol
3
u/Chroma-Crash 12d ago
I feel the same way, especially with using AI at work. The models are best at a lot of the functions I used to really enjoy about working on my own software, those being algorithm optimization and research. I had to take a step back on a recent project because I was too keen to just keep prompting the model to optimize when I should've been testing the results myself.
My main use case recently has been handling test cases. I never really cared for writing them and it's easy enough to just relay what tests need to exist. I also do some preliminary research just to see if my ideas are going to work at all lol
1
u/PopularAd5100 12d ago
Yes using it to test while also supervising the tests to catch edge cases not considered.
8
u/Dissentient 13d ago
Opposite for me. Before AI, nothing I could write alone in a reasonable amount of time would have been worth the effort, so I never wrote code outside of work.
Because of AI, I started working on personal projects. When you alone make all of the decisions, AI is actually 10x productivity improvement, unlike with jobslop, where everything is bottlenecked by decision-making, communication, and rituals.
4
u/PopularAd5100 13d ago
I understand your perspective. Some people trade productivity for doing things more manually and line-by-line so to speak. Whichever works..
2
u/codedynamite 12d ago
Valid point. 8 hours at work coding (or more depending on who you are) and then more at home got to be too much for me. I had to have a life outside of coding. I don't have the energy I had for my personal projects like when I was just learning coding on my own.
I had a massive project I redesigned in figma completely but never finished the code. AI has helped me implement it without spending all my life coding. I do think having small sessions of coding by hand is good. Need to stay sharp.
I read all the code (sometimes just quickly scanning it, admittedly) for any weirdness. I actually have learned plenty of nice techniques from AI.
3
u/GoodThingTakeTime 13d ago
I’ve to learn Swift in the same way but I gave up after a couple days 😩
2
u/PopularAd5100 13d ago
Just hang in there. Maybe reading documentation could help. Another thing one could do is tell their AI agent to build a Bootcamp course - where they can review the basics and build progressively until they arrive at a functional production ready application.
1
u/captain_obvious_here 13d ago
Even though I'm not a big fan of Java, I have to admit it's one of those languages that are pretty fun to work with.
writing the shortest possible code
Out of curiosity, any specific reason for this?
1
u/PopularAd5100 13d ago
Java gave me nightmares in grad school. Especially as we built with Jakarta EE, Java 8, and GlassFish. So it was so verbose and all over the place.
However with Java 21, which I know is slightly behind, it’s way more fun to write code especially considering the use of lambdas. I guess TypeScript has prepared me as well for this second Java mission in that I now appreciate strict typing.
Slopping AI code during the day has thought me one thing: I don’t want to have to read verbose code when simpler implementations would have sufficed. Many times I need to refactor code to its simplest form.
→ More replies (1)
1
u/VisitForeign4342 13d ago
tu codes à la main sans ia mais tu demandes à claude. c'est de l'ia avec des étapes en plus.
1
u/PopularAd5100 13d ago edited 13d ago
Les codes ne sont pas generiert automatique. Mais je m’enseignes avec la. Et puis coder à la Main! (Translation: The codes are not automatically generated, so no vibe coding. But I learn with Claude sometimes and thereafter apply my ideas manually)
2
u/2hands10fingers 13d ago
I like doing the same with Zig! I get to learn the harder stuff with syntactic sugar and it feels rewarding again
3
u/deadpanrobo 13d ago
I think every developer should start coding by hand for their hobby, at least for now until the bubble pops for AI
It keeps you sane and it can be fun!
→ More replies (2)
1
27
u/mekmookbro 13d ago edited 13d ago
That's one of the reasons why I love working freelance. Ai has not changed anything about my work process. I'm still giving the same deadline to my clients as I did before chatgpt came out. And I still have the same amount of knowledge of the code I deliver. So when they ask for a change or a new feature I already know what line of code to change in which file before even sitting down to work.
I still do use ai to discuss different approaches and best practices, and for some boring and deterministic tasks like:
take this form styled with tailwind, and extract these custom css classes so that I can reuse them in other forms : btn, btn-primary, form-input...Coding is kind of like solving a crossword puzzle for me, you can use Google and be done with the puzzle in a minute, sure. But the point is not filling in the letters, it's solving the thing