You are viewing a single thread.
View all comments
0 points

Is it really tempting for people? They’ve given me too many headaches when I’ve had to reformat or add functionality to files.

Unless it’s a simple single use script that fit on the computer screen, I don’t feel like global variables would ever be tempting, unless it’s for constants.

permalink
report
reply
0 points

Most people suck at software engineering.

Plus, there’s always the temptation to do it the shitty way and “fix it later” (which never happens).

You pay your technical debt. One way or another.

It’s way worse than any gangster.

permalink
report
parent
reply
0 points

Not if you leave the project soon enough. It’s like tech debt chicken.

permalink
report
parent
reply
0 points

Then, at your new job, you see garbage code and wonder what dumbass would put global variables everywhere

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 7K

    Monthly active users

  • 730

    Posts

  • 11K

    Comments