Yeah \r gang4lyfe
- 0 Posts
- 67 Comments
I’m on side
\PHP_EOL
xmunk@sh.itjust.worksto
Programmer Humor@lemmy.ml•Job Interview Question for Team Lead Position
9·8か月前You leave the bore and the idiot alone and suddenly your NPM dependencies jump from 30MB to 502GB.
xmunk@sh.itjust.worksto
Programmer Humor@programming.dev•Git, invented in 2005. Programmers on 2004:
6·8か月前My first one was Visual Source Safe.
I will never go back to it for any amount of money.
xmunk@sh.itjust.worksto
Programmer Humor@lemmy.ml•The Ultimate Lisp Function — The Python Combinator
2·8か月前Alignment indentation like that makes my eyes bleed. Please never push an LoC further to the right than nesting would imply.
This is a bit embarrassing but the last time I actively worked in C++ it was with Qt and pre C++11.
Real C++ programmers pass by const ref and tell pointers to fuck off.
Ah right on, that’s a fun and difficult thing to optimize for!
Just as a general note, I appreciate you posting and discussing the contents below but gosh this comment is just like 100% rage bait. Comments like this turn a lot of people off of having a genuine discussion and close minds.
If that’s a genuine non-sarcastic question that isn’t whooshing me then no - there can be other things like memory/disk usage… but if I’m optimizing for CPU I want it to use less overall cycles. It may be that the easiest fix is to throw money at the problem (always a fair option) which would mean getting a beefier/more processor cores to make the performance acceptable but this would usually just shift how cycles are being used to process them faster.
My joke above was that it’d use more total cycles which actually is generally the case if you’re solving a problem by throwing resources at it (since you’re likely incurring more overhead) but generally when you optimize you want to reduce the total number of cycles by somehow locating and eliminating work that doesn’t need to be done.
Indeed, anytime I optimize code, it ends up taking more CPU to run.
Almost certainly HTTP 418:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/418
I don’t care how we get him there - as long as we don’t give Elon a rocket to get back.
xmunk@sh.itjust.worksto
Programmer Humor@programming.dev•(How to trigger programmers (and make them irrationally angry)
2·8か月前A few languages force a decision (usually towards tabs), but otherwise it’s just a question of aesthetics vs. accessibility.
xmunk@sh.itjust.worksto
Programmer Humor@programming.dev•(How to trigger programmers (and make them irrationally angry)
7·8か月前Hard tabs are much better as someone who works with an age diverse team where vision issues are a serious issue. Four space tabs are optimal for you but there are other lived experiences.
xmunk@sh.itjust.worksto
Programmer Humor@programming.dev•(How to trigger programmers (and make them irrationally angry)
11·8か月前It’s alright… but have you considered spaces for indentation and tabs for alignment?

I don’t always namespace but when I do I fully qualify.