User:Ohjian: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 18: Line 18:


Exploratory Programming for the Arts and Humanities by Nick Montfort
Exploratory Programming for the Arts and Humanities by Nick Montfort


[ 4 ] Calculating and Using Jupiter Notebook
[ 4 ] Calculating and Using Jupiter Notebook
Line 39: Line 40:


! Dont ever replace the content of a a cell in Python once it has successfully run, even if the outcome is not intentional. Instead copy to a new cell to change the content !
! Dont ever replace the content of a a cell in Python once it has successfully run, even if the outcome is not intentional. Instead copy to a new cell to change the content !


[ 5 ] Double, Double
[ 5 ] Double, Double

Revision as of 12:44, 23 September 2021

o h j i a n

INDEX

Special Issue #16

getting started

Research

Prototyping

Prototyping/2021-2022/T1

Exploratory Programming for the Arts and Humanities by Nick Montfort


[ 4 ] Calculating and Using Jupiter Notebook

calculator (to calculate) / computer (to compute) / ordinateur (French, to order, to organize)

Python is a programming language Jupiter Notebook is an interpreter of Python

Syntax vs. Semantics in programming languages like Python or Processing: If the Syntax is correct, the code is formally correct, it is valid. If the code does what it is supposed to do, it is intentional. Intentional programs are always valid. Valid programs are not always intentional.

Syntax and Semantics in HTML (Hypertext Markup Language): HTML is not a programming language JavaScript is a program HMTL does not encode instructions Web Browser are forgiving and will also render invalid pages whenever possible. Just because a page is looks intentional in a web browser it doesn't mean it's valid code. So maybe other or future web browsers will struggle to show the intended page. Use Validators like validator.w3c.org to make sure your code is valid.

! Dont ever replace the content of a a cell in Python once it has successfully run, even if the outcome is not intentional. Instead copy to a new cell to change the content !


[ 5 ] Double, Double


Special Issue #17

Special Issue #18