Domain: dekorte.com
Stories and comments across the archive that link to dekorte.com.
Comments · 8
-
Re:Unpossible to Clean SpyWare?
-
WebGrazer is all the pr0n you'd need
Once I found WebGrazer, I pretty much never needed to search for pr0n ever again.
For OS X only ;)
-
Re:Deja vu
Ok, I'll ask. What's a "prototype-based object-oriented" language and how does it differ from C++ and Java?
I was wondering the same thing and found the following items:
http://www.dekorte.com/Proto/Chart.html
Prototype-based languages are object oriented langauges where a new object instance is "cloned" from existing live object(a prototype) instead of being constructed by a class. This makes the language simpler by requiring one less data type and solving the infinte regress problem of classes(if you use a class to create an object, what do you use to create a class?). It is also ideal for systems such as GUIs where the pattern of creating one object by copying and modifying another is already handled by the language itself. Check out the site to see a table of similar languages.
http://c2.com/cgi/wiki?PrototypeBasedProgramming
In a class-based language (like Java or Smalltalk), every object is an instance of a class. An object contains its own data (instance variables), but its class holds its behaviour (methods). To make a new object, you ask a class to "instantiate" itself.
In a prototype-based language, an object can contain both data and behaviour. It's a self-contained thing. To make a new object, you just call the "copy" method on an existing object. -
prototype based languagesWhen running a program, it is very likely that you will want to create new objects as you go along. You have some alternatives:
- call a magic constructor fucntion (C++ and friends)
- send a message like "new" to a factory object (like a class in Smalltalk)
- send a message like "copy" or "clone" to an object that is like the one you want to create
In the third case you might find out that you can get by with a set of "prototype" objects to copy from and you don't need classes at all. But to actually eliminate classes you will have to find solutions to the other things they do for you like hold the behaviors for the objects (you can put them in the objects themselves, for example) and reflection (Self uses special "mirror objects" for that).
There are several different styles of prototype based languages. -
Re:Here we go....
Other prototype languages. The only one (other than JavaScript) to attain some real use is NewtonScript (the language for the Apple Newton).
-
Re:Shhhh...
Here. Or Google for it.
You may have used a prototype-based OO language before: Javascript is one. -
Re:More comments on X HistoryObjectiveC proprietary? Nope, NeXT did ObjectiveC in gcc.
But, before that, Objective-C was a proprietary C pre-processor designed by brad cox.
-
Re:Shadow and Substance.
Try WebGrazer for OSX. It blows all the PC porn apps away.