There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmerhumor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Mcballs1234 , in Rust g*me
@Mcballs1234@lemmy.ml avatar

The Linux users are in the god damn walls

Grishaix , in This is not a meme, I was trying to find content for an OC /c/programmerhumor post and found this
@Grishaix@feddit.de avatar

But you get smaller files with Tabs: madskristensen.net/…/performance-of-tabs-vs-space… ;)

OsrsNeedsF2P OP ,

Imagine not using a minifier

aaaantoine , in This is not a meme, I was trying to find content for an OC /c/programmerhumor post and found this

That’s because these programmers are getting paid by the character.

This is also why Java dev pays so well.

ReakDuck ,

System.out.println(“Wow, so little amount of characters to print this!”);

Grishaix ,
@Grishaix@feddit.de avatar

std::cout << “Wow, so little amount of characters to print this!” << std::endl;

ElectronSoup ,

std::puts("Why do so many C++ programmers not use the right tool for the job?");

Eavolution ,
@Eavolution@kbin.social avatar

Or the slightly more readable brainfuck:

++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.

ReakDuck ,

Hey! Brainfuck is a fun puzzle language and nothing someone does at a job to do money per character. Would be funny if yes

panopticchaos , in FizzBuzz: Enterprise Edition

I had a candidate actually do that for a similar problem.

They were like 15 classes in to generate fibonacci numbers, it was wild.

Lanthanae , in This is not a meme, I was trying to find content for an OC /c/programmerhumor post and found this
@Lanthanae@lemmy.blahaj.zone avatar

I’d imagine it’s because people who use spaces are either further in their career in average (because the modern programming ecosystem in general uses tabs so new devs are more likely to only know that) or they’re just more serious about software development because the kind of person to die on that hill is also the kind of person who is very obsessive about other things as well.

abcd , in Code that lives forever

This is so true!

Last year I had a project to upgrade the PLC of a machine to the newest generation. As usual the customer was not able to tell me the requirements they had. They told me to look in the old software…

It turns out it was 30+ years old software where you had to program in a cmd line (Siemens S5 if you know PLCs). I had to migrate everything to the next generation (S7) to be at least a little bit productive. Then I thought come on lets try to migrate to the current generation (TIA) to be even more productive.

At the end everything was nearly ready to be compiled and uploaded to the PLC. So I fixed some minor compile time issues, deleted around 50-75% of the old program (old stuff which went obsolete), changed some variable names, refactored some stuff and here we are: The same 30+ year old software is running strong. 24/7 since 6 months without issues 😁

alp , in Code that lives forever

I really think that optimization courses should have a special lecture in the optimization of optimization...

hal_canary , in FizzBuzz: Enterprise Edition
@hal_canary@lemmy.sdf.org avatar

This makes me cry.

longshaden , in Code that lives forever

oof, this comic hurts so bad it’s funny.

brokenneon , in Code that lives forever

I always say I write throwaway code that never dies. I shutter to think how many pieces of code I wrote 10+ years ago are still buried deep in systems running today. Shutter.

zalack ,
@zalack@kbin.social avatar

I think you mean shudder. Unless the code you wrote is running on cameras.

celipon , in Code that lives forever
@celipon@kbin.social avatar

It is always the worst code you wrote that survives. There's a terrible university dorm management software I wrote eight years ago as a student. They still use it. The crazy complicated test framework wrappers for some hardware I wrote five years ago. They still use it. The godawful and crazy complicated communication protocol I whipped up four years ago, still used in medical equipment today.

masterspace ,

The crappy scripts that I wrote while teaching myself to code at an electrical engineering / architecture firm are used more often than the professional software I've built for FAANG and Fortune 500 companies since.

nobodyspecial , in Code that lives forever
@nobodyspecial@kbin.social avatar

As with relationships, if you make a mistake you'll wind up supporting it for life.

I kid, I kid. We all know to job hop every 2 years for better compensation. It'll be someone else's problem after that.

mfz ,
@mfz@kbin.social avatar

Yes, yes, and someone else's problem will be your problem after the job hop! :)

dipbeneaththelasers , in Code that lives forever

The most permanent solution is jank that works.

zalack , in Do not touch the legacy runes.
@zalack@kbin.social avatar

One of the things I like about programming is it feels like legit magic. You infuse a lightning stone with words of power that bend its mind to your will.

One must be cautious. The stone will do what is asked of it. Exactly what is asked of it. Ask carefully.

spike ,
@spike@discuss.tchncs.de avatar

“Any sufficiently advanced technology is indistinguishable from magic”

Arthur C. Clarke, 1962, “Profiles of the Future: An Inquiry into the Limits of the Possible”

Ramin_HAL9001 , in Object oriented programming

Object oriented programming is endless class struggle.

Pure functional programming is freedom from state. https://lemmy.ml/pictrs/image/18beec8a-d351-410b-816d-d2ad7f43af12.png

ElectronSoup ,

"In politics, nothing is immutable"

sapient_cogbag ,
@sapient_cogbag@infosec.pub avatar

Based haskell ;p

geopoliticssuck ,

OCaml enjoyers anyone? 🐫

fkfd ,
@fkfd@lemmy.ml avatar

ocaml: the socdem of programming languages

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • lifeLocal
  • goranko
  • All magazines