- 0 posts
- 459 comments
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
- xmunk@sh.itjust.worksto
Programmer Humor@programming.dev•(How to trigger programmers (and make them irrationally angry)
1 yearA 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)
1 yearHard 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)
1 yearIt’s alright… but have you considered spaces for indentation and tabs for alignment?
- xmunk@sh.itjust.worksto
Programmer Humor@programming.dev•(How to trigger programmers (and make them irrationally angry)
1 yearFigure out if they prefer spaces or tabs, insist on the other.
Please note this won’t work on Pythonistas as they’ve already had their spirit thoroughly broken.
Assuming you’re talking about HTML5 & CSS it actually is Turing Complete.
- xmunk@sh.itjust.worksto
Programmer Humor@programming.dev•The state should be purely passed through function inputs and outputs
1 yearJavascript:
I heard you like mutating class data so I’m mutating the data you can put in your class data, dawg.
- xmunk@sh.itjust.worksto
Programmer Humor@programming.dev•The state should be purely passed through function inputs and outputs
1 yearProtest anonymously, function anonymously.
- xmunk@sh.itjust.workstoProgramming@programming.dev•Copilot exposes private GitHub pages, some removed by Microsoft1 year
When a code repository is shut down on github the expectation is that it’s removed. We’re all aware that the internet will never forget that API key you accidentally committed once but the expectation was always that it wouldn’t be github itself doing the remembering and openly sharing it with others.
Nano services are microservices after your company realizes monoliths are much easier to maintain and relabels their monoliths as microservices.
Unironically. I’d put a significant wager down on that being the source of this term.
I’m being pretty resistant about AI code Gen. I assume we’re not too far away from “Our software product is a handcrafted bespoke solution to your B2B needs that will enable synergies without exposing your entire database to the open web”.
That estimate seems a little low to me. It’s at least 115%.

My first one was Visual Source Safe.
I will never go back to it for any amount of money.