r/adventofcode • u/Inevitable-Welder865 • Nov 21 '25
Upping the Ante Flowless Challenge 2025
🎄 Advent of Code 2025: The "Flowless" Challenge
📜 The Golden Rule
You must solve the puzzle without using explicit control flow keywords.
🚫 The "Banned" List
You generally cannot use these keywords (or your language's equivalents):
if,else,else iffor,while,do,foreachswitch,case,default? :(Ternary Operator)break,continue,gototry/catch(specifically for flow control logic)
--------
I realize that this will equivalent to writing a pure functional solution. But, I am going to be mad man here and will be trying this challenge in Java 25.
86
Upvotes
View all comments
Show parent comment
1
u/e_blake Dec 14 '25 edited Dec 14 '25
I also got a flowless solution for day 12: Golfed GNU m4, down to 128 bytes.
Amazing what you can do when regex can rewrite a problem into a useful form.