Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

this makes sense

Name: Anonymous 2013-02-27 15:45

Back in the days before Algol, the lambda papers and r0rs, people were happy to program with dynamically scoped variables. While it allowed for some nice things such as executable data that require no linking in advance and non-parameter function options, it gave a little too much power to the variable name. For instance, it lead to problems such as not knowing whether reading a variable x yields the same value as the lexically enclosing function's x? Overall it fell out of favor, and nowadays only a handful of languages even consider dynamic binding as anything but a special case. Many thought it was a bad idea and moved on to lexical scoping.

But did it really disappear from all mainstream programming languages? In most object-oriented languages every method invocation supplies an implicit parameter that refers to the object itself, which often is called this or self. The meaning of this depends on which method it's evaluated in and the dynamic state in which the method was called. Reading it in an inner class's method has a different effect than in the enclosing scope. You might have seen code such as var that = this; used in order to bypass the dynamic nature of this. It's safe to say that you can consider it a dynamically scoped variable, even though it technically might be a keyword, if you accept that you can't access it in non-object (static) methods and functions.

No my friends, dynamic scoping stuck with us right under our noses. Dynamic scoping never went away. Dynamic scoping got the last laugh.

Name: Anonymous 2013-02-27 16:05

Dynamic scoping is at the forefront of CL I believe.

Name: Anonymous 2013-02-27 16:10

>>2
You can declare variables as 'special' in CL, which is for all intensive purposes the same as dynamic.

Name: Anonymous 2013-02-27 16:16

>>3
for all intensive purposes
IHBT IHBT PLEASE TELL ME IHBT

Name: 3 2013-02-27 16:57

>>4
What's wrong with that?

Name: Anonymous 2013-02-27 16:59

>>5
Are you fucking serious? Read a book, nigger.

Name: Anonymous 2013-02-27 17:06

I don't know what kind of fucked up pronunciation led to the "intents and" -> "intensive" transformation.

And "intensive purposes" doesn't even make sense. How do you even a purpose intensive? By working 10 hours a day on it?

I hate all of JEW- all of you, faggots.

Name: Anonymous 2013-02-27 17:09

>>7
How do you even make*

I'm a bit mad.

Name: Anonymous 2013-02-27 17:17

this and its associated semantics is one of the most  innovative concepts introduced by javascript

Name: Anonymous 2013-02-27 17:30

>>6
Shalom, Hymie!

Name: >>4 2013-02-27 17:36

>>5
[b][i][o][u]>>6[u][o][i][b]
That is to say,
[b][i][o][u]ARE YOU FUCKING SERIOUS?[u][o][i][b]

Name: Anonymous 2013-02-27 17:37

>>11
I HATE DICK

Ahem.
ARE YOU FUCKING SERIOUS?

Name: Anonymous 2013-02-27 18:06

>>2,3
Yeah, the original LISP and early derived dialects had dynamic scope for all variables initially, and many lisps still has it in some form or another. When Common Lisp was standardized some inspiration was taken from Scheme, however, and lexical scoping was made the default for variables. To get the effect of dynamic scope today, some schemes have make-parameter and parameterize and Common Lisp has special variables.

But that's not the point. Languages like Java, which doesn't recognize the notion of dynamic scope for variables but has inner classes (in methods) that can access the instance of the lexically enclosing class, still has it in the form of this. And it's not so bad, is it?

While C++ has inner classes, their instances don't capture a reference to the object of the method that created them, and the meaning of this really is unambiguous, like any other parameter name.

Name: Anonymous 2013-02-27 18:26

How do I delete my reply to this thread?

Name: Anonymous 2013-02-27 19:47

>>14
You get a glass bottle, smash it, and then eat the shards.

Name: Anonymous 2013-02-27 20:41

>>14
You go back to the imagereddits.

Name: Anonymous 2013-02-27 23:35

>>7
"intents and purposes"? What the fuck, isn't that redundant? "intensive purposes" makes much more sense.

Name: Anonymous 2013-02-27 23:53

Lisps using dynamic scope:
✹ Emacs
✹ newLISP
✹ picolisp
✹ AutoCAD

List more lisps with the 12 point star ✹ for intensive purposes.

Name: Anonymous 2013-02-28 0:16

>>15,16
Don't tell him what to do.

Name: Anonymous 2013-02-28 1:00

>>14
In a small apartment in New York City, there is a man who goes by the name of moot who may be willing to fulfill your wish -- for a price. If you wish to continue, buy a plane ticket to New York City and bring a computer and enough clothes and money for at least seven days. Upon arrival, go to the nearest Starbucks and ask the barista for Christopher Poole. Upon hearing this, the barista will be able to direct you to the mysterious moot. Follow his instructions to the letter and do not skip any step. When you reach the apartment the door may be locked. If it is, you must hide in the building until moot arrives. If it is unlocked, enter slowly but carefully, saying "I am a huge faggot please rape my face." Moot will appear before you wearing nothing but a New York Yankees cap. He will ask if you have ever had anal. You must respond in the negative even if it is a lie. You must immediately bare your rear and bend over. Moot will proceed to insert his erect penis into your rectum. When he fills your anus with his love juice, he will tell you that you are the tightest lover he has ever had. After seven days, moot will show you his 4chan server room. He will bring you into a black windowless van. Let him tie you up and blindfold you until you arrive at the server location. He will guide you into the room and untie you and remove your blindfold. He will then warn you not to touch anything and leave for a coffee break. At this time head to the nearest computer and access the servers. The username "moot" and the password "faggot" will permit full access to every post and thread ever created, including the child pornography which he has saved for personal use. At this time, open a web browser and access /b/. This is for cover: do not waste any time on the inane comments of the imageboards. When it has loaded, log into a virtual console then navigate to the prog directory and edit the file containing the thread. If you succeed and are able to log out in time, he will not notice anything wrong and will make you an Admin over all the boards and give you a free 4chan Pass for life. If he catches you, immediately switch to X and tell him you were browsing the imageboards. He will tell you that ordinarily you would not be allowed to leave, but since you must be a very clever hacker to access his server, he will let you leave with a warning never to speak to him again or tell anyone of his location. He will then shoot you with a tranquilizer and you will wake up on the floor outside his apartment. As a final warning, you must never under any circumstances use your Admin login to insult Jews or post to the textboards, as moot records all of his sexual encounters with a hidden camera.

Name: Anonymous 2013-02-28 1:09

>>20
would.

Name: Anonymous 2013-02-28 1:09

>>20
sounds as a way to lose virginity :3

Name: Anonymous 2013-02-28 4:49

>>17
YHNTA

Don't change these.
Name: Email:
Entire Thread Thread List