This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Ctrl-Shift-O | |
^!o:: | |
; wait 2 seconds | |
Sleep, 2000 | |
; type out clipboard contents | |
sendraw %clipboard% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// LOL! Look at this... | |
// This class syntax is very shorthand, inline, and anonymous. | |
// However I'm skeptical that the runtime interpreter is able to optimize it | |
// like traditional class semantics. | |
// class | |
const State = () => ({ | |
// constructor | |
object: {}, | |
array: [], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Declarative programming: Expresses the logic of a computation without describing its control flow. (e.g., no loops) | |
e.g., SQL, RegExp, Markdown | |
example: SELECT * FROM table; | |
Imperative programming: Uses statements that change a program's state. Consists of commands for the computer to perform. | |
e.g., OpenGL, Canvas, Turtle, GCode, ASM, FORTRAN, SVG | |
example: while (true): up(1); right(2); stroke(); done(); | |
Procedural programming: Derived from structured programming, based upon the concept of the procedure call. | |
Procedures, also known as routines, subroutines, or functions (not to be confused with mathematical functions, |
NewerOlder