User:Inge Hoonte/oct20 2011
< User:Inge Hoonte
Revision as of 12:00, 20 October 2011 by Inge Hoonte (talk | contribs) (Created page with "Link: [http://pzwart3.wdka.hro.nl/wiki/Prototyping/Soldier_Soldier_Will_You_Marry_Me Oct 20 class] Formal computer language -> mathematical or computing, not spoken, expressing...")
Link: Oct 20 class
Formal computer language -> mathematical or computing, not spoken, expressing ideas that can be processed
Procedural / Imperative -> tell the computer what to do, compare to following a recipe
- bash
- Python
- PHP, Java, javascript, Rudy....
Declarative -> more descriptive, domain specific, compare to improv cooking
- SVG
- CSS, HTML
- Lisp, Prolog
- XPath
ipython: text is always the exception. put quotes around it. name = "inge" -> expression gets stored in a variable
name ="..." print "Hello", name, "etc"
str = string = textual object int = integer float = not whole number, eg 1.56
x = """inge ....: and ....: more ....: stuff ....: and more ....: stuff""" In [16]: x Out[16]: 'inge\nand\nmore\nstuff\nand more\nstuff'