The not so funny thing is that if you try this in scripting languages -1 and 1 are both truthy so…
kubica
- 1 Post
- 748 Comments
Bool or bool not, there’s no twice.
kubica@fedia.ioto
Science Memes@mander.xyz•Ice is a mineral. Liquid minerals are lava. You are filled with lava
12·9 days ago“Generic lizard monster” is so demeaning, but then you don’t want them to be mad.
kubica@fedia.ioto
Programmer Humor@programming.dev•Me, after carefully reading Rust's ownership and borrow checker rules
10·14 days agoyou got a
&yes, but what about agetting more&on top of your&'s?
kubica@fedia.ioto
Programmer Humor@programming.dev•I still haven't figured out how to do this
1·14 days agoThat’s what I mean (Ctrl+Enter), but I keep deleting it accidentally. But come to think I could have misinterpreted the meme because I don’t remember what specifically ms word does in that case. I haven’t used it in a long time.
kubica@fedia.ioto
Programmer Humor@programming.dev•I still haven't figured out how to do this
5·14 days agoMy problem is usually how to NOT delete the blank page because I put it there on purpose, but any moment I delete something I end up going too far and having to add it again, but then try trim some of the extra trailing lines and there we go again.
That’s why I let my code rest for 2 months before committing.
Some will consider that an even more serious offense.
kubica@fedia.ioto
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•Weird Al's advice to a fan
13·22 days agoYANKovic
Which reminds me how “commit” is right but “ammend” is wrong. I hate it.
But like, with a “spell-checker” or a “spellchecker” or a “spell checker”?
Writing new code: Dark theme so that the bugs stay away.
Debugging: Light theme so that you can catch them.
Someone could make an app so that the dark-mode is only activated when you have a key pressed.
kubica@fedia.ioto
Lemmy Shitpost@lemmy.world•Are you telling me a shrimp fried this rice?
15·1 month ago#2, but actually you forgot to put pants on the face too.
3 figs in one picture? That’s a gif.
kubica@fedia.ioto
Linux@programming.dev•Why printf is superior to echo in Linux scripts
30·2 months agoI liked this part:
As a rule of thumb, use echo for quick, interactive output and one-off checks. Use printf in scripts, logs, and anywhere output format matters. If you ever find yourself relying on echo options or escape sequences, that’s usually a sign that printf is the better tool.





Freedom strikes again.