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
@DataPup This is idiomatic Ruby