"Willy nilly is an idiom that means "haphazardly" or "spontaneously"."
https://www.merriam-webster.com/dictionary/willy-nilly
Reply on news.ycombinator.com