@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6



Comments:

<0> it's syntax is?
<0> thats what i meant
<0> it's syntax
<0> is java-friendly
<1> not really
<0> wth?
<1> it's just like C, perl, java, c++, whatever
<0> it's totally like java
<1> it's nothing like java
<1> i don't know where you're getting that it's like java
<0> er
<0> the syntax
<1> example?
<0> accessing 'DOM' ****
<0> it's java-esq
<0> esque too



<1> those are just function calls
<0> This.That.Other.Thing
<0> right
<0> but java organizes itself that way too
<1> you mean object oriented
<0> javascript isnt oo though
<1> it is
<0> i just meant the syntax
<0> wtf?
<1> it's just not cl*** based OO
<0> you can declare cl***es and ****?
<1> no
<1> well, kinda
<0> where are the ****in objects then?
<1> its OO is more like perl's OO really
<0> accessor functions != oo
<0> that's like saying LUA is OO
<1> http://edge.scriptktichen.com:81/~kitchen/cl***.html
<2> cl***?
<2> are you a student??
<1> javascript is prototype based OO
<1> you define a prototype object
<1> then you instantiate it with new
<1> so like
<1> var Something = function(constructor, params) {
<1> blah blah
<1> }
<1> Something.prototype = {
<0> geezuz christ dude
<1> whatever: stuff
<1> }
<0> wtf are you writing all that **** for?
<1> Volatile: it's just a test
<0> for what?
<1> i was experimenting with prototype's Cl***.create
<1> and by prototype i mean prototype.js
<0> for what?
<0> see
<1> because I wanted to make sure I understood the model properly
<1> there are cl*** methods and instance methods
<1> etc
<0> by that, one could say LUA can be OO
<0> you can create tables, and accessor functions under it
<0> and thusly, 'prototype' an object
<0> but it's NOT OO
<1> javascript is OO.
<0> it even implements 'self' hacks
<0> ok
<0> ill believe ya
<0> ;P
<1> but javascript is hardly anything like java
<0> *shrug*
<0> both are yeck to meh
<1> for instance
<1> javascript doesn't have public/private/protected
<1> javascript and java have completely different OO models
<1> java uses cl***es, javascript uses prototypes
<0> again
<0> ill say it again
<0> accessor functions, and accessor modifiers do not make something OO
<0> ;P



<1> http://www.javascriptkit.com/javatutors/oopjs.shtml
<0> im not disagreeing with you
<0> i was just repeating that
<0> ;P
<0> javascript's vm may indeed implement objects
<0> however, dont let things like:
<0> person = new Object()
<0> person.name = "Tim Scarfe"
<0> person.height = "6Ft"
<2> what the hell is an OO model?
<0> make you think a language is OO
<0> cuz i can do that in LUA too
<0> heh
<1> kaleido: object oriented
<2> oh, ok
<1> instead of having functions, you hav e objects, and make function calls against them.
<1> either way, javascript is poorly implemented in a lot ofplaces
<0> yah
<1> firefox and IE have horrible HORRIBLE memory leaks
<0> there's no real standard for how it works
<1> HORRIBLE
<1> even when you change pages the memory is still leaked
<0> java 'works' because one place maintains it, and it's standards
<0> javascript is a documented implementation
<0> that you can follow
<1> javascript needs a bit more definition of how it shoudl be interpreted
<0> and no one maintains it's implementation
<0> except the individual vendors implementing it
<1> and it needs a way for the programmer to control its garbage collector
<0> erf
<0> javascript has gc problems? :P
<1> yes
<1> because it has closures
<1> so you can have circular references inside closures
<1> and it has lexical variable scoping
<1> so if you do this:
<0> im aware of what scoping is :P
<1> right
<1> i was going to show you something that would leak like a sieve in IE and firefox
<1> :P
<0> hah
<2> show me
<3> :>
<2> i am interested
<2> jeev, go screw up rap lyrics :(
<1> var example = function() { var test = 123; function() { example2(test);}
<1> }
<1> var example2 = function(moo) { alert(test);
<1> }
<1> wtf is up with my copy/paste today, it's not picking up newlines
<0> that will work?
<0> haha
<3> i didn't screw shi tup fat***
<1> yup.
<1> well, it might not with that syntax
<1> hang on
<2> fat***?
<2> hahaha
<0> i dont understand how the object could even exist outside the scope of example
<2> thats all you could come up with?
<3> ignored
<2> a blind allegation like that?
<2> tell piku to op me
<1> Volatile: hang on
<2> i gotta ban this sumbtich
<0> it's extremely easy to implement local variables
<1> Volatile: really i need to show you an example against an object that has callbacks
<2> /tell piku op me, im a 45 warlock lfg
<2> dammit!
<0> erf
<0> you tell piku to op you
<0> [Piku(dcc)] Added '*!*adubz@superpimp.biz' to kaleido.
<2> hehe
<2> im so easily entertained


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #qmail
or
Go to some related logs:

#politics
#beginner
#computers
#beginner
#beginner
#opengl
#computers
#politics
#computers
TCL: bind raw



Home  |  disclaimer  |  contact  |  submit quotes