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!
Follow the wormhole through a path of communities !webdev@programming.dev
I’m in this article and I don’t like it
Too true.
I still remember when java5 came out, many new features, great potential for a massive refactoring of my interactive climate model. Within that, I had an idea called “parallel worlds” for comparing scenarios, whereby for efficiency data was shared for parts of the system, and split across parts that varied as user adjusted parameters. So I pulled apart the whole codebase, and joined it back together again… - about two years later, by which time colleagues had given up interest.
[ story simplified to relate to point of OP - not only task in two years! ].
Now I develop a derivative climate system model in scala, but evidently it’s more interesting to develop some new complex part of the science code, than fix a graphical interface for beginners. But moods vary - some days lacking energy for refactoring, could be satisfied ticking off a few small tasks in a todo list. Yet after some time, brain craving for another big new complex idea…
this response is based on the few paragraphs available to non medium members
The second paragraph mirrors my experience with coding to a tee. I may have forgotten to turn off the oven while i was absorbed in Pycharm at least once, and ive certainly given a triumphany “fuck yea” with a raised fist worthy of a freeze frame ending to an '80s film upon succesfully accomplishing a task.
During a recent difficult time in my life, learning to code was the only activity i found that gave me substantial relief from the stress.
When I can get in the zone, programming gives me the same feeling as playing a game like Factorio or Civilization. My thoughts get faster and faster, I lose complete track of time, and sometimes even leave my body.
When I finally stop my brain is going a thousand miles an hour and no matter how late it is I won’t be able to get to sleep for a couple hours.
It’s beautiful and terrible and exactly why I have the job I do.
I think a lot of devs can relate to that
Advent of code - day 5 - part 2
… that’s all I’m saying
Fuck, you guys made it to part 2?
Damn I need to learn to code and see if I can get addicted to this to curb my alcoholism
Being a programmer doesn’t make you drink less.
With a keg in the office comes great responsibility.
deleted by creator
Yesssssss. I just got done splitting up a 3000-line mess of React code into a handful of simple, reusable components. Better than sex.
I’m a total noob but I learned how and refactored my python project I’m doing at work. It takes time but it is very rewarding to have clean code lol
My brain goblin is a big fan of performance. Recently I reviewed a teammate’s code. It was a small 100ish line PR and he calls the same function twice in a row with a tiny variation. My brain goblin went “you could consolidate these into one call”, “since it’s only one call you could inline it”.
A couple hours later when he came to ask me what I’m smoking I realised my proposed solution had more LoC and was more complex to read. If we needed better performance, step 1 should’ve been to offload this task to an API that wasn’t made with python. Not to mention the next thing this API does is string manipulation and then write to file.
Someone hit me with the full text please.
🗞😠
@ISometimesAdmin@the.coolest.zone Let me know if you need rehab.
But seriously… yeah, I get it. Especially this part about the workplace:
I have been that person before, and now I’m in a position where I have to keep those folks on a tight leash and remind them “our goal is to deliver a product right now, and we can enhance it in future sprints. Let’s just focus on what our primary goal was right now.” It’s easy to fall down rabbit holes, and that’s where having proper planning and a ticketing system to backlog and prioritize future enhancements is so critical.
Medium articles should be banned.
Should they? The article seems to have engaged people, and a fair few seems to relate to what the author has to say.
It’s the medium not the article. You can post your articles on GitHub gists or something just don’t use that website
I’ve even installed a browser extension to filter Medium from Google search results. Their pricing is not reasonable nor localized.
Ahh Medium. The Pinterest of articles.
I think the entire community would appreciate articles posted in an accessible manner.
First 1/3rd is a bit of fluff but after that, good article. Especially the last 1/3rd.
Ah yes, the Wadsworth constant.