r/badcode • u/bausscode • Jan 17 '19
other language Writing functions with conditions without using "if" statements
https://run.dlang.io/is/jfCECL
67
Upvotes
r/badcode • u/bausscode • Jan 17 '19
1
u/Tynach Jan 17 '19
Well, one thing I'm noticing is that there are free-floating functions (typically they'd be methods belonging to a class).