re: code golf, no image desc
_=s=>(s=s[0].toUpperCase()+s.slice(1).toLowerCase(),\`${s}${s.at(-1)=='y'?'':'y'} Mc${s.replace(/(ey|y)$/,'')}face\`)
is much better way to do what i did, but the javascript in the reply to the stackexchange post is 19 characters shorter
code golf, no image desc
just got nerd sniped very hard by https://codegolf.stackexchange.com/questions/160438/facey-mcfaceface:
@vaporeon_ i only just noticed that heigth is spelled that way that it is here
@amy hi amy
@Lady as long as they're not studying imaginary concepts like "category theory" i guess mathematicians are ok
@vaporeon_ revolutionary
Starting to realize that @Lady thinks math majors are useless
@vaporeon_ if the texture isn't gross to you the skin is perfectly edible
re: food
@vaporeon_ understandable, it can be hard to operate a spoon without opposable thumbs
@monorail based
@monorail hell yeah where do I start
@monorail oh I love writing evil code I would probably like code golf
@monorail teach me, master
Groovy is supposed to be a superset of Java but there are situations where that isn't true. For one thing, the syntax which initializes an array in Java ({ 1, 2, 3 }
) is syntactically ambiguous with something groovy made up called "closures" that I am not going to explain, but only if the array has a single element. If there are multiple elements the syntax is not ambiguous and things are fine
Because of this I passed a closure to something written in Java that expected an array of strings BUT IT DID NOT THROW AN EXCEPTION???????
movie/animation/anime fan. videogame enjoyer. food liker. mathematics hobbyist and recovering physicist. software engineer. professional wonk. top-ranked c++ hater. prophet of The Truth. i would not be surprised if I had autism + adhd. i like animals that wear cowboy hats.
I answer to many names, including but not limited to wallhackio, BigmouthCreator, BingusDingus, catwin, and clodboy.
header is by @vaporeon_
"i regret ever allowing him here" ~aescling
he/him