Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@stop oh, for sure. Just overused at this point, even when it doesn't need to be. Almost as frequent as using the flu or cancer examples when teaching Bayes' Rule.
-
@Root Agreed. But maybe in language docs or tech books use a deck of cards or some other example. Maybe.
-
fib = 0 : 1 : zipWith (+) fib (tail fib)
Why wouldn't you want Fibonacci demos, they're short, elegant, and can demonstrate a lot of language features. Plus there are so, so many ways to generate the series and implementat said generation algorithm. -
@RememberMe I'm not doubting their effectiveness, terseness or simplicity...they're just overused to the point where they lose the "oomph" they used to have in tech demos and books. Just like Northwind - we all memorized the schema and table structure so much that examples got routine and boring.
I'm so over Fibonacci demos. It's become the Northwind database of algorithm examples.
Maybe a Rubik's Cube solver as a change of pace, perhaps?
rant