the difference between a script and a program. She'd probably look at you funny, then say something like: Well, a script is what you give the actors, but a program is what you give the audience. That Ada was one sharp lady…” - Larry Wall Terminology Ada Lovelace 1815 - 1852
• Scripting languages are typically: ▪ Very high-level languages ▪ Used to automate system calls that alternatively be run manually “glue language” ▪ Interpreted (instead of compiled) • Scripting languages can be: ▪ Used as an extension language (plugins, macros, etc.) • Domain-specific language ▪ General purpose
a set of instructions or algorithms for computers to perform • Programming language elements: ▪ Syntax • Grammatical structure • Defined by specification or by dominant implementation as reference ▪ Semantics • Declaring things before using them • Function calls with correct number and type of arguments • Variables used in correct context ▪ Typing System • Typed vs untyped languages • Static vs dynamic typing
to be REALLY smart to program Computers! • Programming requires creativity and craftsmanship. • Programming takes a lot of effort to know what you’re doing. You deal with a lot of complexity. • Not everyone can do it. It takes a certain kind of person to be a programmer. • Programming is building cool applications that do complex things.
tools, design patterns, editors, languages, etc. value is weighted by: 1. What you learned first 2. What you are most comfortable using How do you value them? You establish a set of values, or criteria, by which other things are compared. Judgment calls: • Easy to learn • Easy to use • Time saving • Powerful features • Better
“Oh, it will be faster in production.” • Relying on complex tools, frameworks, middleware, variety of dependencies to do “normal” programming. ▪ Normal Bloat • Software Development Life Cycle ▪ Process, procedures, timelines, deliverables Your bias is a lens you look through.
specific parts of the brains of the language students developed in size whereas the brain structures of the control group remained unchanged.” https://www.theguardian.com/education/2014/sep/04/what-happens-to-the-brain-lan guage-learning
think about doing X! There's only one way to do X! There's more than one way to do X! There are too many ways to do X! In programming language B: You can't even think about doing Y! There's only one way to do Y! There's more than one way to do Y! There are too many ways to do Y!
programmed in C or shell. And there really wasn't much in between. There were these little languages that we used on top of shell, but that was the big divide. The big revelation that hatched Perl, as it were, was that this opened up into a two-dimensional space. And C was good at something I like to call manipulexity, that is the manipulation of complex things. While shell was good at something else which I call whipuptitude, the aptitude for whipping things up.” - Larry Wall http://www.shlomifish.org/humour/fortunes/show.cgi?id=larry-wall-big-divide
be approached like any other programming work. Programming can and should be simple and flexible like scripting. Testable Code Reusable Code Readable Code Commented Code Simplicity Maintainable Code RAD
are exacting- following Instructions exactly. • There are many systems, interactions, and dependencies for your software to work. • As software systems scale up, complexity also increases. • Most software systems are too large for one person to understand all of it.