why are undergrads in compsci so obsessed with switch statements

@vaporeon_ I've seen multiple times where some YouTuber in their first year of their undergraduate CS program is doing some code review and their primary concern is using if else when you could have used switch statements

Like, I like switch statements but who cares

Follow

@vaporeon_ I'll never forget the video when an infamous kickstarter game's source code released and some guy made a 20 minute video critiquing the 4000-line file that managed the entire game state

The YouTubers main criticism was that the file didn't use switch statements

Talk about missing the forest for the trees

Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.