Erlang Review
2 years ago
20
Erlang is a strange programming language. Interesting concepts though.
I said that I would review the factor() function, but I didn't.
Here is the function definitions:
factor(0) -> 1;
factor(N) -> N * factor(N-1).
If factor() is run using the argument of 0, then 1 is returned. If factor() is run using any other number, then "tail recursion" is used. The tail end of the function recurses the factor() function using N-1, and multiplies that result by N. And repeats, until 0 is reached.
For IT, Software, & Data Privacy Consulting, please visit:
Loading comments...
-
0:52
AgentofSocialMediaChaos
2 years agoWolves Review
114 -
1:12
AgentofSocialMediaChaos
2 years agoWinchester Review
99 -
0:33
AgentofSocialMediaChaos
2 years agoUs Review
721 -
1:16
AgentofSocialMediaChaos
2 years agoUnthinkable Review
115 -
1:10
AgentofSocialMediaChaos
2 years agoUnknown Review
84 -
0:35
AgentofSocialMediaChaos
2 years ago $0.01 earnedUnfriended Review
67 -
0:51
AgentofSocialMediaChaos
2 years agoUnforgettable Review
30 -
0:50
AgentofSocialMediaChaos
2 years agoTwisted Review
49 -
0:38
AgentofSocialMediaChaos
2 years agoPsychotown Review
34 -
6:57
Organic Chemistry I & II
2 years ago $0.09 earnedAlcohols - A Review
70