DEV Community

Discussion on: Learning from Different Programming Language

Collapse
peerreynders profile image
peerreynders

Some languages don't have loops - recursion has to be used instead (e.g. Erlang, Haskell).

While many languages are statement based others use only expressions: expressions vs statements.

Collapse
narutosanjiv profile image
Sanjiv Author

Yeah, mostly functional language do not have inbuilt loop, it need to be implemented through recursion.