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???????
kept afloat by big ideas.
you can call me Caleb or Clodsire. i also go by clodboy and catwin. i am not picky about names (unless its one amy made up)
videogame enjoyer. mathematics hobbyist and recovering physicist. software engineer. professional wonk. prophet of The Truth. the walking embodiment of "not diagnosed, but somethings wrong". i like animals that wear cowboy hats.
pfp is by @The_T
header is by @vaporeon_
"i regret ever allowing him here" ~aescling
"oh you're one of those weird movie likers" ~Ti
"i know your taste in movies well enough to discount your opinion" ~globin
"caleb is the only person on this websites who truly understands what the report button is for: 'i don't like this post'" ~holly
30+
straight
he/him