- add fizz buzz examples from rosetta
- add others??
- add ruby fizzbuzz example - in detailed (functional style)
There are variations in spirit, as well. Functional programming languages, like Lisp, ML and Haskell, tend to substitute a factorial program for Hello, World, as functional programming emphasizes recursive techniques, whereas the original examples emphasize I/O, which violates the spirit of pure functional programming by producing side effects.
- use samples from rosetta stone ?
- Automatic Memory Management (Garbage Collection) vs Hand-Crafted/Hand-Coded/Manual
- add data types of ruby here ??
- Pattern Matching
- Concurrent (with Actors/Messages/Processes/Mailboxes) - Nothing Shared
- Fault-Tolerant
- Distributed
- Immutable Data Structures
- and and ??
- hello world
- quicksort
- Fibonacci sequence
- bitcoin address checker / validator ??
started with scala, see:
more langs:
-
http://blog.blindgaenger.net/10_xxx_one_liners_to_impress_your_friends
-
http://programmingzen.com/10-ruby-one-liners-to-impress-your-friends/
-
http://codeblog.dhananjaynene.com/2011/06/10-python-one-liners-to-impress-your-friends/
-
http://d1ffuz0r.com/10-erlang-one-liners-to-impress-your-friends.html
make a table with langs - why? why not??
Object-oriented (class-based, prototype-based) • Imperative (procedural) • Functional • Reflective • Structured • | Generic • Concurrent • Event-driven • Distributed • Process-oriented • Scripting • Compiled •
Common programming paradigms include:
-
imperative which allows side effects,
-
functional which disallows side effects,
-
declarative which does not state the order in which operations execute,
-
object-oriented which groups code together with the state the code modifies,
-
procedural which groups code into functions,
-
logic which has a particular style of execution model coupled to a particular style of syntax and grammar, and
-
symbolic programming which has a particular style of syntax and grammar.
-
https://en.wikipedia.org/wiki/Comparison_of_programming_languages
-
https://en.wikipedia.org/wiki/Comparison_of_multi-paradigm_programming_languages
-
https://en.wikipedia.org/wiki/Comparison_of_programming_languages_by_type_system
-
https://en.wikipedia.org/wiki/Generational_list_of_programming_languages
-
https://en.wikipedia.org/wiki/List_of_programming_languages_by_type
-
https://en.wikipedia.org/wiki/History_of_programming_languages
-
https://en.wikipedia.org/wiki/History_of_programming_languages
-
https://en.wikipedia.org/wiki/Timeline_of_programming_languages
-
https://en.wikipedia.org/wiki/Template:Types_of_programming_languages
-
https://en.wikipedia.org/wiki/Comparison_of_programming_languages
-
https://en.wikipedia.org/wiki/Category:Programming_language_comparisons
- https://en.wikipedia.org/wiki/Type_system
- https://en.wikipedia.org/wiki/Data_type
- https://en.wikipedia.org/wiki/Template:Data_types
Use simpler Factorial for now (is like helle world for functional languages )