Good vs. Evil

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
26 ok..... I must confess that I use loops more then I would like for certain things
 

Someone Else 37

Forum Addict
Feb 10, 2013
1,876
1,440
168
27 In functional languages (such as Haskell, Clojure, most of the other Lisps, probably Scala), all variables are immutable, and there's usually no built-in for or while loops. You have to use recursion and/or higher-order functions like map, filter, and reduce (all of which are defined recursively) to do things that you might otherwise use loops for.
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
14 so..... stuff happened and fire has been lit, why you might ask. Because 5-5-2015. What has that to do with anything? the answer is all the things.