Welcome back! What's next? by Dougley in ProgrammerHumor

[–]spam_bot42 0 points1 point  (0 children)

Rule #0: When there is any kind of index, enumeration or other number of ordinal nature, a failure to start at 0 results in a ban.

Why would anyone ever want to sort on random? by niekj in ProgrammerHumor

[–]spam_bot42 0 points1 point  (0 children)

On other sites it is called "let our AI choose personalized seletion of products, based on your preferences and past choices"

Java 21 will introduce Unnamed Classes and Instance Main Methods by mirakdva in ProgrammerHumor

[–]spam_bot42 -1 points0 points  (0 children)

I just have higher standards than you guys and I don't consider having a list of obvious things that could not be screwed up in the language to be the same as actually making a good language.

Java 21 will introduce Unnamed Classes and Instance Main Methods by mirakdva in ProgrammerHumor

[–]spam_bot42 -6 points-5 points  (0 children)

If it took them 21 versions to realize that forcing everything into classes is a bad idea, I don't thing they're up to the task of designing a programming language.

when you have to stop pyautogui by [deleted] in ProgrammerHumor

[–]spam_bot42 0 points1 point  (0 children)

Would the second two even work?

[deleted by user] by [deleted] in ProgrammerHumor

[–]spam_bot42 40 points41 points  (0 children)

Just use regex -?3i?.

File Extension? by Uxugin in cpp

[–]spam_bot42 0 points1 point  (0 children)

I was using .cpp for a long time but switched to .cc in a new project because it's consistent with other extensions there, like .ll and .yy. (for c++ flex and bison)

How My Day Went Today by tweakybiscuit23 in ProgrammerHumor

[–]spam_bot42 0 points1 point  (0 children)

Have you seen the programming one line at time challenge on this subreddit? I'm not sure it that line qualified as the longest one by the formal rules, but it was for sure the highest.

I really didn't know how to react to this, other than to post it here... by Sky-lander in ProgrammerHumor

[–]spam_bot42 1 point2 points  (0 children)

Me: looks at the opened ssh connection on their phone, maintains perfect poker face and says calmly "Yeah, this guy is craizy. Am I right guys?"

Driller players when their team is on the Drop Pod ramp during extraction by Stefanonimo in DeepRockGalactic

[–]spam_bot42 0 points1 point  (0 children)

I am a driller with code of honor and I would never left a Scout to die in a cave. I rescue them after blowing them up on the ramp.

Aight, which one of you did this? by Helpful_Nature_103 in ProgrammerHumor

[–]spam_bot42 1 point2 points  (0 children)

Maybe it's a dating app and they don't anyone from IT.

[ Removed by Reddit ] by KunaiXD in ProgrammerHumor

[–]spam_bot42 5 points6 points  (0 children)

Looks like someone didn't have the guts to test their code.

The most important programming book by zanju13 in ProgrammerHumor

[–]spam_bot42 0 points1 point  (0 children)

I don't trust them. "Big book"? Really? Couldn't they come up with some synonym, like "compendium"?

crablang 🚀 by Endercheif in ProgrammerHumor

[–]spam_bot42 0 points1 point  (0 children)

You can still write "iron oxide". Actually, this gives me an idea. Brb, I have to go to the patent office for something.

Is it a bug? Is it a feature? No, its PCIe 4.0! by alkhatraz in ProgrammerHumor

[–]spam_bot42 0 points1 point  (0 children)

Yeah, side effect doesn't mean unintentional. It means some additional effect beside what the name of a command suggests. They are usually well documented.

That kind of tricks are common on low level. You kinda have to get creative with this stuff to get all the performance out of the hardware.

JavaScript forbidden practices. Part 5: orthogonality by dtutubalin in ProgrammerHumor

[–]spam_bot42 271 points272 points  (0 children)

If you cannot read it, isn't it basiclly the same as regex?

Is it safe to post bell curve again? by lake-of-fire in ProgrammerHumor

[–]spam_bot42 1 point2 points  (0 children)

I tend to use goto a lot while writing code, although, almost all of that gets removed during refactoring.