Regularity
From Maze
(Difference between revisions)
(Added 10 Print section text) | (removed redundant outline) | ||
| Line 13: | Line 13: | ||
Based on this description of iteration, it may not be entirely clear that 10 Print is an example of iteration. There are no variables in the code that change value from one pass to the next–there are no variables at all–and the functionality of the code inside the loop never changes. Watching the program execute on screen shows hints that there is something changing beneath the surface, though: the position of the cursor changes every time the loop executes, moving one position to the right. | Based on this description of iteration, it may not be entirely clear that 10 Print is an example of iteration. There are no variables in the code that change value from one pass to the next–there are no variables at all–and the functionality of the code inside the loop never changes. Watching the program execute on screen shows hints that there is something changing beneath the surface, though: the position of the cursor changes every time the loop executes, moving one position to the right. | ||
| − | The position of the cursor is not being managed by 10 Print itself; it is a function of the Commodore 64's KERNAL, a layer of software that lies between BASIC and the machine code executed by the processor to handle input/output functions. Since 10 Print's BASIC code is not controlling the iterative aspect of its function it would be accurate to say that 10 Print is operationally iterative, but the BASIC code is not. This should not preclude examination of 10 Print's iterative nature, however; many iterative processes are dependent upon external or implicit factors influencing their output, and 10 Print's simplicity exposes the power of using simple iterative steps to create a complex construction. | + | The position of the cursor is not being managed by 10 Print itself; it is a function of the Commodore 64's kernal, a layer of software that lies between BASIC and the machine code executed by the processor to handle input/output functions. Since 10 Print's BASIC code is not controlling the iterative aspect of its function it would be accurate to say that 10 Print is operationally iterative, but the BASIC code is not. This should not preclude examination of 10 Print's iterative nature, however; many iterative processes are dependent upon external or implicit factors influencing their output, and 10 Print's simplicity exposes the power of using simple iterative steps to create a complex construction. |
| − | (tk not sure if it would be confusing here to describe RND as an iterative process since it is deterministic…) | + | (tk not sure if it would be confusing here to describe RND as an iterative process since it is deterministic...RND(1) is little different than iterating through a stored list of numbers...) |
==FOR…TO…STEP== | ==FOR…TO…STEP== | ||
(tk add variant that rewrites 10 Print to manually manage the cursor position by poking specific grid locations using BASIC's built-in iteration structure.) | (tk add variant that rewrites 10 Print to manually manage the cursor position by poking specific grid locations using BASIC's built-in iteration structure.) | ||
| Line 56: | Line 56: | ||
==Fractals and Chaos== | ==Fractals and Chaos== | ||
==Life== | ==Life== | ||
| − | |||
| − | Outline - will begin uploading sections over 2/5-2/6 weekend | ||
| − | |||
| − | *Iteration in 10 Print | ||
| − | **The 10 Print Loop (GOTO) | ||
| − | **Looping and Iterating | ||
| − | **10 Print Iterates? (POS) | ||
| − | **FOR…TO…STEP | ||
| − | |||
| − | *Iteration Permeating Computing | ||
| − | **Iteration – transistors and processors | ||
| − | ***Computers do one thing well… | ||
| − | ***Memory and CPUs | ||
| − | ***Example: binary adder | ||
| − | **Iteration – code and structures | ||
| − | ***"Go To Statement Considered Harmful" | ||
| − | ***Structured programming | ||
| − | ***OOP | ||
| − | ***Recursion | ||
| − | **Iteration – design and feedback | ||
| − | ***Iterative design | ||
| − | ***Testing as development | ||
| − | ***Agility and reuse | ||
| − | **Iteration – software and business | ||
| − | ***Mechanical reproduction | ||
| − | ***Version 1.0 | ||
| − | ***Break | ||
| − | |||
| − | *Iteration as a Generalized Process | ||
| − | **Bread and Beer | ||
| − | **Fractals and Chaos | ||
| − | **Life | ||
