Simon Willison’s Weblog

Subscribe

Entries tagged javascript, programming in 2012

Filters: Type: entry × Year: 2012 × javascript × programming × Sorted by date


Wouldn’t an ASCII cellular automaton in javascript be the simplest starting point to teach/learn programming?

Absolutely not. The first step in learning to program is understanding that a computer can be quickly made to do something useful by executing lines of code. Personally I’m a big fan of firing up something with an interactive prompt (like Python, or even Firebug or the Google Chrome JS console) and demonstrating that typing a line of code hitting return will get a useful response.

[... 87 words]

Is there a method to programmatically clear browser cache in JavaScript?

No.

[... 18 words]