Skip to content

Instantly share code, notes, and snippets.

@luqui
Created October 15, 2010 07:13
Show Gist options
  • Save luqui/627762 to your computer and use it in GitHub Desktop.
Save luqui/627762 to your computer and use it in GitHub Desktop.
Editor Ideas
* Show documentation about an object as you are typing/selecting it, no matter what the context.
* Allow verifiable but informal documentation: NonZero(x), where NonZero doesn't have a computable definition, but it is to be verified by the programmer as an "assertion". Maybe it bubbles up (seems like it should, since it's a statement without proof). What if it can't because the relevant variable escapes?
* Remember to commit to "write first, refactor later". E.g. copy,paste,modify should share whatever code was not modified.
* Max hates reading code -- he much prefers to debug. Seeing concrete values, allow concrete model to interpret abstract code.
* Collaborative editing.
* Take for example:
int x = getch();
printf("%d", x);
`x` is an assumption in the second line. But it does not imply that this code is monadic -- we can't pick the second line based on the value of the first. What is the algebraic structure of this code, then? Perhaps we can treat it as an assignment, thus x is an assumption in the first line, too, and one of the primitives provided by the C algebra is the ability to discharge an assumption with a declaration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment