Balancing Pleasure and Productivity
brainw0rms [they/them]
link
fedilink
English
31Y

I’m in this article and I don’t like it wojak-nooo

Never Before Have I Been So Offended By Something I One Hundred Percent Agree With

Ben Matthews
link
fedilink
71Y

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 once collaborated with an exceptionally talented programmer who seemed so engrossed in his addiction that he would invent challenges where there were none, presumably to make his work more engaging and bearable. However, this often led to incomplete projects because once the stimulating aspects were finished, he struggled to find the motivation to continue. Clearly, this behavior was extreme and detrimental.

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

shnizmuffin
link
fedilink
English
21Y

Being a programmer doesn’t make you drink less.

With a keg in the office comes great responsibility.

m_r_butts
link
fedilink
261Y

deleted by creator

@purpleprophy@feddit.uk
link
fedilink
English
91Y

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

@Solemarc@lemmy.world
link
fedilink
7
edit-2
1Y

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.

@Kissaki@feddit.de
link
fedilink
English
51Y

🗞😠

ryan
link
fedilink
3
edit-2
1Y

@ISometimesAdmin@the.coolest.zone Let me know if you need rehab.

But seriously… yeah, I get it. Especially this part about the workplace:

Nevertheless, [addicted programmers] can also pose significant risks, especially because they frequently deviate from the planned course. They follow their own agenda, introducing challenges where none were necessary, or dedicating hours to minor, tangential aspects of a project. In the process, they diverge from the project plan, programming what they believe is necessary rather than what the project itself requires.

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.

First 1/3rd is a bit of fluff but after that, good article.

Ah yes, the Wadsworth constant.

@Kissaki@feddit.de
link
fedilink
English
31Y

The Wadsworth Constant is an axiom which states that the first 30% of any video can be skipped because it contains no worthwhile or interesting information.

Create a post

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!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



  • 1 user online
  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1 user / 6 months
  • 1 subscriber
  • 1.21K Posts
  • 17.8K Comments
  • Modlog