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.

programmer_humor

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

the_post_of_tom_joad , in What's stopping you from coding like this ?

My piriformis

LastYearsPumpkin , in Me after I got fired

But rand() is a number between 0-1, so it will never be >10

Basically this is just True = False

Xyre ,

I’m not sure what’s worse. The engineer that thought this would work or the company that doesn’t do code reviews.

perviouslyiner , (edited )

Put it in a package they depend on - nobody reviews those

CodexArcanum ,

Pick a library you already use with many sub-dependencies. Make a new library with your evil code. Name it in line with the step 1 library. Oh hi there “Framework.Microsoft.Extensions.DB.Net.Compatibility” you couldn’t possibly have anything bad going on in you, plus you sound really boring to review, I’m sure it’s fine.

genfood OP , (edited )

The C standard library function int rand(void) returns a pseudo random integer between 0 and RAND_MAX (which should be at least 2^15, depending on the actual implementation).

Depending on the distribution of the pseudo random numbers, it will be true for over > 99% of its applications.

Source: trust me bro, and C++ reference

Furthermore, there is no integer between 0 and 1, but I guess you mean a real number between 0 and 1.

ook_the_librarian ,
@ook_the_librarian@lemmy.world avatar

You’re correct in a lot of languages; Excel comes to mind. Just that’s not how int rand() works in C.

Sorry, I don’t why you’re getting snark and even being accused of using the word “integer”.

Michal , in What's stopping you from coding like this ?

I like to see the screen whole coding

seth , in What's stopping you from coding like this ?

That looks like a quality oven appliance. I hate stools, though. 6/10 kitchen

Zitronensaft , in What's stopping you from coding like this ?

What makes you think this isn’t how I code? Offices love me, this is way cheaper than a bunch of ergonomic equipment.

Coreidan , in What's stopping you from coding like this ?

Pain

sj_zero , in Junior Dev VS Machine Learning

COMPILE ERROR - LIBRARY CALCAREA.H DOES NOT EXIST

goddamnit you acid tripping LLM...

sj_zero , in What's stopping you from coding like this ?

About 200 pounds.

ONRYO , in What's stopping you from coding like this ?
@ONRYO@feddit.ch avatar

Aldready poor coding skills.

ques0 , in What's stopping you from coding like this ?
mumblerfish , in What's stopping you from coding like this ?

What would enable me to work like that, is my question.

ONRYO ,
@ONRYO@feddit.ch avatar

Insanity

mumblerfish ,

You become that flexible and all you have to pay is insanity? Well I wanna say my 40+ ass would take that deal, but fuck it, not even my early 20s would have a chance.

Oha , in What's stopping you from coding like this ?

I dont see shit like that

Ulvain ,

“like that” is probably the best position to see shit

Kissaki , in Floating-point arithmetic

It’s infectious!

maniel , in What's stopping you from coding like this ?
@maniel@lemmy.ml avatar

I’d say visibility is kinda poor

0x0 ,

Slap an Apple Vision Pro on ya face

iAvicenna ,
@iAvicenna@lemmy.world avatar

field of vision

frezik ,

Well, you can stare at a pussy all day. If you don’t have a pussy, then never mind.

odium ,

Why never mind? You could stare at a dick instead.

muxelplexer , in What's stopping you from coding like this ?

that would probably be a more healthy position to sit in then what i’m used to lol

QuazarOmega ,

It’s just the natural evolution of slouching

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