3 ms·
100% of erlang tutorials are for fibonnaci.
by gcb0 13y ago
100% of erlang tutorials are for fibonnaci.
- Luc 13y agoI don't think so.
- spoiler 13y agoI never understood why every language has a plethora of fibonnaci tutorials. "DO THE FIBONNACI IN X USING Z PROGRAMMING PARADIGM" ok thanks, no more please.
- scott_s 13y agoBecause you already: 1. Know what the Fibonnaci numbers are. 2. How to compute them. 3. Said computation is straight-forward, but it requires some form of looping (either recursion or iteration) and some form of arithmetic. The combination of those traits means that if I present code to compute the Fibonnaci number for an arbitrary number in some random programming language, you can infer a lot about that programming language. In other words, the only variable in that situation is the programming language itself, which allows you to use the other information you already know to learn about that language relatively quickly.
- spoiler 13y agoI never understood why every language has a plethora of fibonnaci tutorials. "DO THE FIBONNACI IN X USING Z PROGRAMMING PARADIGM" ok thanks, no more please.
- mml 13y agoI once challenged Scott Fritchie to give an Erlang talk at our local ruby group (rum.mn) without implementing Eratosthenes' sieve, and sure enough he did, using elevators of all things. I was so impressed with Erlang that i'm still banging my head on it nearly 10 (half-hearted) years later.