232
Overflow (slrpnk.net)
you are viewing a single comment's thread
view the rest of the comments
[-] Lasherz12@lemmy.world 21 points 2 weeks ago

Before I answer your question, let me tell you a little bit about formatting and why that's really what you should be more concerned about and how nobody will want to program beside you if you make an else if statement that could have been made into a switch and....

[-] JusticeForPorygon@lemmy.world 4 points 2 weeks ago

Me who still doesn't understand switch

[-] InFerNo@lemmy.ml 6 points 2 weeks ago

It's a shorter way to write if else if else if else if else, which keeps indenting and harder to read if there are lots of cases, also because each if statement checks the same variable for different values.

[-] Deepus@lemm.ee 2 points 2 weeks ago

Turns on and off?

  • non programmer
[-] wedeworps@sh.itjust.works 1 points 2 weeks ago

I think they meant the Nintendo console

this post was submitted on 07 Dec 2024
232 points (96.8% liked)

memes

10696 readers
4032 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 2 years ago
MODERATORS