@vaporeon_ software eggineering poisons your brain
@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 no, but they're on the ever-growing List
@monorail when i do things like this aesc calls them "caleb solutions"
@monorail oh my fucking god Math.max can take a third argument in JavaScript fuck me
@vaporeon_ that is a username i've used a lot
@aescling @vaporeon_ @Lady no do it for real
@vaporeon_ hey @aescling @Lady make this work you cowards
@vaporeon_ oh that reads nicely. cool style.
@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 likeconst 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
@onfy I guess everything I write is in Java then
@vaporeon_ I would write it more clearly if it were something serious
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
@vaporeon_ I would never actually use this for a serious project I was just amusing myself by writing it in a single indecipherable line
This specific thing I was doing needed it. Except then I realized later actually I didn't need it lol so I got rid of it
the clodvestigator
i answer to Caleb, Clodsire, Clodboy, Clod, and Bumby. very leftist.
videogame enjoyer. mathematics hobbyist and recovering physicist. recovering software engineer. professional wonk. prophet of The Truth. the walking embodiment of "not diagnosed, but somethings wrong". i like animals that wear cowboy hats.
number of fat cock awards received: 56
header is by @vaporeon_
"i regret ever allowing him here" ~aescling
"oh you're one of those weird movie likers" ~Ti
30+
he/him
sgraMrt