Skip to content

Instantly share code, notes, and snippets.

@drewlesueur
Created December 15, 2010 03:27
Show Gist options
  • Save drewlesueur/741588 to your computer and use it in GitHub Desktop.
Save drewlesueur/741588 to your computer and use it in GitHub Desktop.
Thoughts on programming languages

Programming Language Thoughts

What makes a good programming language?

A good programming language is expressive. That means I can easily turn the thoughts of my head into code. A good programming language is easy to read. It's important for code to be read because code lives. Others edit it, extend it, learn from it. A good programming language is fast.

What can a computer do?

A programming language is a language written for a computer. The instructions control a computer's actions. So what can a computer do

  • Get Information This is called input. A computer can get information though a keyboard, mouse, microphone, video camera, internet, etc.
  • Send Information This is called output. A computer can send information through the screen, speakers, the internet, etc.
  • Manipulate Information A computer can add, subtract, etc. It can use that same math to manipulate images, video, audio, text files.
  • Store Information A computer can store information. It can store videos, images, text, and programs. The computer stores these things in what's called memory.
  • Execute Information This is the magical part of computers. Computer instructions called code can be stored in the memory, just like images and video are stored in the memory. The computer can execute parts of it's own memory to get, send, manipulate, store and even execute information.

What do we have to work with?

..to be continued.. talk about how memory is stored in a big long list. Maybe talk about operating systems

Levels of abstraction

...discuss functions etc

Object oriented. It's about the syntax.

What does the . mean in obj.param

GOTO vs functions

Dynamic vs static (or Runtime vs Compile time)

Do the variable names exist in memory? Or are they turned into indexes at compile time? Or is only the variable type used at runtime (polymorphism)?

Protocols

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment