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.

TheSaneWriter , in B-bug? What bug?
@TheSaneWriter@lemmy.thesanewriter.com avatar

At least refactoring the code can make the bug easier to find. What I hate is when I spend hours looking for a bug because I missed a single line in some documentation and misunderstood how something in the project worked, that always hurts.

Nobug404 , in if else if else if else
julianh , in Javascript is the most popular scripting language in use today

Don’t forget jsfuck

coloredgrayscale , in unrolling loops is efficient, right?

300 nested if statements, (…) added another 5000 nested if statements.

At this point I want to doubt that they actually wrote it themselves, vs writing a metaprogram to generate the code.

ImplyingImplications , in unrolling loops is efficient, right?
CanadaPlus , in a brain is a network of if()

Yes, both of those words can be argued to apply in a vacuum. “AI” has started to intrinsically mean neural nets now, though.

As for the title: Lol, look at this guy who doesn’t even loop. What are you going to do, halt on top of me?

TheSaneWriter , in rule
@TheSaneWriter@lemmy.thesanewriter.com avatar

Honestly, this is a good rule for programming in general. With user input, make sure it’s in its own area where it can’t interact with anything else and make sure to read and process in such a way that it can’t fuck with the operation of the program.

z3n0x , in rule
@z3n0x@feddit.de avatar
addie , in Javascript is the most popular scripting language in use today
@addie@feddit.uk avatar

Javascript might be the most widely-used scripting language in use today, due to its browser dominance. Most popular would imply that it’s not completely despised by everyone that has to use it, which is misleading. Even TypeScript tutorials are about 50% ‘you have to understand what Javascript does wrong here’.

ZILtoid1991 , in Every time
@ZILtoid1991@kbin.social avatar

I did that many times with my game engine, and every time I have had to postpone a release by at least two weeks: one week of implementing the feature, one week of debugging it. (Where can I find people who want to work on an open source game engine?)

Jakylla , in ways to close vim
@Jakylla@sh.itjust.works avatar
  • Unplug the computer
  • Shut the house electric safety switch down
  • Cut the electricity pole nearest to the house
  • Bomb the nearest electricity distribution post
aloso , in Creating a password in 2023 be like
malloc , in Creating a password in 2023 be like

Reminds me of “The Password Game” 😂

selawdivad , in Creating a password in 2023 be like

I just use the KeePassXC password generator. :)

stevecrox , in Inm looking at you Typescript dev
@stevecrox@kbin.social avatar

I am currently teaching python and JavaScript devs Typescript. Everytime they hit a problem they switch to any

Sigh

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