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

Pages: 1-

Global Scope

Name: Anonymous 2011-10-20 20:48

Is it really necessary to have global scope for REPL to work?

Name: Anonymous 2011-10-20 21:13

maybe

Name: Anonymous 2011-10-20 22:25

yes. The keyword is L

loops are inherently non-functional. Just like definitions.

Name: xXxLiNkInPaRkFan69xXx !Qb183r1z9U 2011-10-20 23:09

global scopeing?lol is that like quick scopeing in call of duty?it must be like quick scopeing on a realy long range for it to be global lol

Name: Anonymous 2011-10-21 0:47

If you had no global scope in when using a REPL, then non of your statements could affect one another. You could just type the entire program in one line though.


(define wo 'wah)
(display wo)



((lambda (wo)
  (display wo))
'cool)



for(int i = 1; i < 10; i++)
{
  printf("%d ", i);
}
printf("\n");



((lambda (self i)
   (self self i)
   (newline))
 (lambda (self i)
   (if (< i 10)
     (begin (display i)
            (display " ")
            (self self (+ 1 i)))))
 1)

Name: Anonymous 2011-10-21 2:45

>>4
>xXxLiNkInPaRkFan69xXx
Do you have a geocities homepage?

Name: xXxLiNkInPaRkFan69xXx !Qb183r1z9U 2011-10-21 5:56

>>6
no i only use facebook and reddit

Name: Anonymous 2011-10-21 6:32

>>5
If you had no global scope in when using a REPL, then non of your statements could affect one another.
What if you pass entire environment to a continuation?

Name: Anonymous 2011-10-21 7:05

Lisp
GC is shit.

Name: Anonymous 2011-10-21 7:30

>>9
GC is shit.
Fuck off and die, frozenvoid.

Name: 9 2011-10-21 8:03

>>10
Who the hell is frozenvoid?

Name: Anonymous 2011-10-21 8:07

Six months ago I found online book "Dive into Python". A strange book, a thick, but still not in Russian. Diligently read it methodically and pondering, but did not understand anything. But something would not let me - I went to python.org and began to learn the standard library, diligently, meticulously, from start to finish. Code examples of Google, I came across a blog post a guru, which has been written about PEP8. The fact that this was telling veteran coder, so impressed me that I like in a fit of madness rushed to cram the convention of writing Python code. I shook hands, the body of a wave of excitement, I can say, fought in the ecstasy of it all the time - and now I can quote from memory every item, even if I wake up in the middle of the night.

New knowledge inspires me, I rushed to write (what would you think?) Another imageboard. I have not written sooner imageboard, this was my first. Along the way, had to learn the basics of layout in html and css, but it all turned out quite that simple.

I slowly moved forward, increasing the functionality. And guess what? I ran into a lack of productivity. Well, I thought. I made measurements, removed the site from heavy code. Thousands of times ran ab, but he failed to pass the threshold of 300 requests per second. Somehow I expected more and was a little disappointed.

Google, Google again. Dozens of articles and topics on the forum ... Pretty quickly I noticed that people often write about some "asynchronous Web server." Often found the name of Tornado and Gevent. I have read about them in detail - and was simply stunned. How can I not previously occurred to me! This is the same, it's just brilliant, devil take me!

Sources in the bucket, all the rewrite! I was filled with new knowledge, ideas flow smoothly went into line of code. I just could not stop. A cup of coffee ... Another cup of ... My little piece of software purchased Crystal-clean, I was dead tired, but he continued to polish his tenderness itchy hands, putting the final touches.

Five thousand. I got the performance of five thousand requests per second. That night I could not sleep.

Naiuvlekatelneyshy world of hi-loada opened in front of me. Later, I learned a lot of cool things such as ultrafast asynchronous key-value-storage facilities, or, for example, such an unusual approach to handling data, such as map-reduce.

This was a different me, a new, updated. From minded and unbiased vision, with a thirst for new knowledge and unfamiliar concepts. I flew forward, leaving behind him step by step.

For half a year I changed a few jobs, and my salary soared to a staggering amount. Hundreds of great places opened their doors to me. Any, the most refined women showed just the miracles of ingenuity to stay close to me.

And yet, I'll never forget the moment when at a conference for the first time I caught the envious eye. It was the sight of a merging with the crowd of losers, a look full of hatred, contempt, lust and bile directed at my Olympus. Perhaps his whole worthless life writing on any Haskell or there in Lisp, spending long days alone. And now began subconsciously suspect that for many years tried unsuccessfully to build a castle out of manure.

Name: Anonymous 2011-10-21 8:07

>>11
The strongest fairy.

Name: Anonymous 2011-10-21 9:10

>>13

>>11 incorrectly spelled his name, should have been: ``>>⑨''.

Name: Anonymous 2011-10-21 9:44

>>13
Oh God why did I laugh so much at a Touhou post.

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