understatement 

consciousness is a while(true) loop with extra steps

understatement 

@icedquinn every loop is a while(true) loop with extra steps

understatement = CW? 

@Archivist understatement?

What if we move to functional programming and forget about mutable loops at all?

understatement = CW? 

@worldsendless well, for optimization purposes, there are only infinite loops except sometimes

Also, well I use languages without actual loops a lot (or where you are discouraged to use loops because only two flavours exist: infinite and while loops)

I prefer recursion or abstracted loops when the language have them

But hey when I do Elixir I don't have to question which loop to use

understatement = CW? 

@Archivist How does Elixir do it?

understatement = CW? 

@worldsendless recursion, recursion everywhere, except when you make an actor handle the job in which case you just relegate the recursion to someone else :blobnomcookie:

Follow

understatement = CW? 

@Archivist Sounds like it has the kind of clean TCO that Java (Clojure) lacks, which slows down writing recursion just a enough to make room for list comprehension

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.