Programming Languages in 15 Minutes [video]
youtube.com
youtube.com
Does anyone have any similar resources they recommend?
http://games.oojits.com/media/pdf/programming-food-2013-12-0...
It is more basic than the video in this post. It was well received, but I didn't do anything more with it.
> Unlike a human cook leafing through a book, computers don’t mind lots of cross-referencing. (page 6)
Not really relevant to the target audience, but computers do mind excessive cross referencing. Having many function calls in a hot loop will hurt performance compared to if they were inlined.
I think the analogy of cookbooks and how much cross-referencing they do probably works well to explain optimally inlining at the compiler level (balance of program size versus speed).
Some programming languages do not have functions or types (like brainfuck).
This is just a bad attempt to describe programming paradigms that not all languages support.
What use is a program if it doesn't have a way of outputting?
That is the one requirement from the video I support.
If you could start sleep, but not tell when it finished, it would be quite useless.
So I think requiring "output" for a programming language is fine. You just have to be very general about what "output" is.
"The exit status is allowed to be zero when sleep is interrupted by the SIGALRM signal because most implementations of this utility rely on the arrival of that signal to notify them that the requested finishing time has been successfully attained."
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/sl...
Edit: the original title said Every Programming Language in 15 Minutes
- I/O (sys, network, screen, printer etc.)
- Data types (numbers, strings, bool, composite data types etc.)
- Built-in ops (comparison, logical, arithmetic etc.)
- variables
- branching
- loops
- functions