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

Pages: 1-

Garbage Collection

Name: Anonymous 2011-12-22 2:21

­

Name: Anonymous 2011-12-22 3:11

is shit

Name: Anonymous 2011-12-22 3:27

I use languages without GC, but I don't manually collect my garbage. What's the worst that could happen?

Name: Anonymous 2011-12-22 3:53

>>3
fagstorm

Name: Anonymous 2011-12-22 3:57

>>3
Nothing! Such excellent languages generate no garbage!

Name: Anonymous 2011-12-22 4:00

>>3
That somehow your app becomes popular, it stops being a mere `app' but instead a `platform' and shit gets built on top of it, and a million /prog/s cry in their sleep working on your platform.

Name: Anonymous 2011-12-22 4:01

>>3
Memory leakss, software aging, etc.

Name: Anonymous 2011-12-22 5:49

>>4
More like mild fagprecipitations.

Name: Anonymous 2011-12-22 12:57

Forth has no GC. There is no garbage in Forth. -- Elizabeth Rather

Name: Anonymous 2011-12-23 1:16

When Forth was born, triple rainbow was seen on the sky. True story.

Name: Anonymous 2011-12-23 1:18

Cool! Here's a good example of what you want:

(defun dot-print (x)
  (if (or (zerop x)
      (minusp x))
      nil
      (progn
    (format t ".")
    (dot-print (1- x)))))

Name: Anonymous 2011-12-23 1:53

>>11
Lisp is shit.

Name: Anonymous 2011-12-23 2:15

>>11

Just What I Needed!

Name: Anonymous 2011-12-23 14:36

>>11
Your code is shit.

(defun dot-print (x)
  (when (plusp x)
    (format t ".")
    (dot-print (1- x))))


or even

(defun dot-print (x)
  (dotimes (i x)
    (format t ".")))

Name: Anonymous 2011-12-23 23:48

>>14
[code]
dot_print = lambda x: print ("." * x) if x > 0 else None
[code]
Lisp is such crap that even python3 is better. And that's horrible.

Name: Anonymous 2011-12-23 23:57

"If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell

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