Dimitri Glazkov

ECMAScript 4 on the Servertwo days beforeLet’s imagine there is a viable, publicly available ECMAScript4 (that’s Javascript 2.0,…Javascript Makes Me Giddy

· 1 min read

.NET on Gears: A Tutorial2008Javascript is a dynamic, loosely-typed language. Enjoy it. Don’t square yourself into…I must be a simple man, ‘cuz things like this in Javascript make me slap my sides, and go Hot damn!

		function Context(base) {
			if (base) {
				var c = function(base) {
					this.base = base;
				}
				c.prototype = base;
				return new c(base);
			}
			return new function() {
				// standard context functions
				this.get = function() {};
				// ...
			}
		}

		// then
		var a = Context();
		// do things with "a"
		var b = Context(a);
		// "b" inherits "a" as context:
		// * changes to "a" make it to "b"
		// * changes to "b" don't make it to "a"
		var c = Context(b);
		// you get the picture ...

Development environment for rapid experimentation2023To set things up. I was looking for a way to enable…Framework for Tomorrow’s Webfive days afterI am trying something new here. Instead of blabbering and shaking wrinkled…I don’t know what’s more exciting here, the “no-much-to-it-ness” or the “bang-for-buck-ness”, but every time I get to work with Javascript, I am excited about the actual process of crafting code.