Show newer

@vaporeon_ I'm referring to anyone who writes code for money instead of writing code for fun

@monorail @vaporeon_ I actually agree with you, I am just being difficult because I am stupid enough to pester a 50m tall creature

@monorail @vaporeon_ i bet that I am Powerful enough to understand nested ternaries I wrote a year ago

@vaporeon_ @monorail well modern architecture is so performant that it is okay to always prefer elegance over performance

@monorail oh my fucking god Math.max can take a third argument in JavaScript fuck me

I am so used to people calling me Caleb/Clodsire that the other day I was referred to by "wallhackio" and I was like "who the fuck is wallhackio"

@vaporeon_ since everything is in a class method even the simplest code is already in 2 levels of indentation, which drives me crazy

@vaporeon_ if I were serious I would write it like
const max = (a, b, c) => a < b
? b < c
? c
: b
: a < c
? c
: a;

or I would use an if else for the "outer" condition so there is no nested ternary

@vaporeon_ We used 8-line indentation for some reason and then imagine writing ObjectFactoryFactory objectFactoryFactory = new ObjectFactoryFactory(); in three or four levels of indentation

re: Don't do this 

@vaporeon_ at my old job we had a 100-character limit for Java and it sometimes wasn't enough LOL

Show older
📟🐱 GlitchCat

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