Follow

callout: gargron uses `unless` statements in his code

@Gargron my ruby prof told me not to use them :P i think they're cute

@DataPup "unless foo" is a lot more readable than "if !foo". the rule doesn't apply for multiple conditions though, if you have negations in your unless then it should be an if

@DataPup if you have rubocop installed it's kind of like a style guide with best practices.

@Gargron see i agree that "unless foo" is more readable but when i said that everyone in the room glared at me and it derailed the entire class w nerdboys dogpiling on the girl to tell her why she's wrong and should use if !foo isntead

@DataPup people at uni's can't actually code. uni focus is on theory & math, not how to write good code (in my exp. at least)

@Gargron that wasn't really true at my liberal arts college, which was essentially a professor reading us the documentation from rubyonrails.org on a projector and telling us to have a functioning website by the end of the semester.

@Gargron computer science classes at my alma mater which kinda more like "opportunities to get credit for something you were gonna self-teach anyway"

@DataPup ymmv

at my uni even practical classes lagged years behind industry practice

@Gargron from what i've heard, german universities and american liberal arts colleges are Pretty Different in general

for instance, i majored in "conflict resolution" (social psychology and linguistics) and built a website in jekyll as my senior thesis. cuz that's Totally The Same Field

@DataPup idk if it was just hamp, but fuck, that was such a thing with all the Computer Science People constantly getting all over anyone who said anything different or like didn't already know how to do something and being like You're Wrong, And Stupid and that's honestly part of (not all but part of) why I barely learned anything in those classes

Sign in to participate in the conversation
Awoo Space

Awoo.space is a Mastodon instance where members can rely on a team of moderators to help resolve conflict, and limits federation with other instances using a specific access list to minimize abuse.

While mature content is allowed here, we strongly believe in being able to choose to engage with content on your own terms, so please make sure to put mature and potentially sensitive content behind the CW feature with enough description that people know what it's about.

Before signing up, please read our community guidelines. While it's a very broad swath of topics it covers, please do your best! We believe that as long as you're putting forth genuine effort to limit harm you might cause – even if you haven't read the document – you'll be okay!