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

fuck Ruby

Name: Anonymous 2011-11-05 15:21

Any language that allows shit like this should be outlawed.

find_match([H|T], L, LastVal, D, Free, Out) ->
    case dict:find([H|L], D) of
    {ok, Val} ->
        find_match(T, [H|L], Val, D, Free, Out);
    error ->
        D1 = dict:store([H|L], Free, D),
        encode([H|T], D1, Free+1, [LastVal|Out])
    end;
find_match([], _, LastVal, _, _, Out) ->
    reverse([LastVal|Out]).

Name: Anonymous 2011-11-05 15:22

use python

Name: Anonymous 2011-11-05 15:24

Any language that allows shit like this should be outlawed:

print("Hello, World!");

OR

(print "Hello, World!")

Name: Anonymous 2011-11-05 15:26

>>3
hey ``faggot'', don't lump python 3 in with all the other shitty languages. thanks!!

Name: Anonymous 2011-11-05 15:28

>>4
That's also valid PHP and Python 2, as well as many other languages (even C and Java, if you make a print() function).

Name: Anonymous 2011-11-05 15:44

>>3
Lisp's `print` functions acts as serializer, while python's just prints shit on screen.

Name: Anonymous 2011-11-05 15:45

>>5
There are no ``functions'' in Java.

Name: Anonymous 2011-11-05 15:47

>>7
You well know what I meant: a method. However, since I mentioned C, I referred to it with the C term.

Name: Anonymous 2011-11-05 15:47

>>1 How about FUCK YOU OP and your blanket "x" should be outlawed statements. How about we ban auto-tune the same way, because I think it's destroying music as we know it. That's all the reason I need to ban shit, and that should be quite good enough for a closed minded cretin like you, OP

Name: Anonymous 2011-11-05 15:48

>>6
Python's print also serializes many objects (calls str(o) for o in print's arguments before printing them).

Name: Anonymous 2011-11-05 15:49

>>10
Can it read them back?

Name: Anonymous 2011-11-05 15:56

>>11
>>> import sys
>>> from StringIO import StringIO
>>> stdout = sys.stdout
>>> out = StringIO()
>>> a = [1,2,"Qwe",None,2.345,False]
>>> a
[1, 2, 'Qwe', None, 2.3450000000000002, False]
>>> sys.stdout = out
>>> print a
>>> sys.stdout = stdout
>>> out.seek(0)
>>> s = out.read()
>>> print s
[1, 2, 'Qwe', None, 2.3450000000000002, False]

>>> b = eval(s)
>>> print b
[1, 2, 'Qwe', None, 2.3450000000000002, False]


Yes.

Name: Anonymous 2011-11-05 15:58

>>12
Note that in
>>> print s
[1, 2, 'Qwe', None, 2.3450000000000002, False]

it would be more obvious if I did
>>> s
"[1, 2, 'Qwe', None, 2.3450000000000002, False]"

Name: Anonymous 2011-11-05 16:10


[joe@numbercruncher ~]$ python
>>> 0.1 * 0.1
0.010000000000000002
>>> ^D
[joe@numbercruncher ~]$ sudo pacman -Rns python

Name: Anonymous 2011-11-05 16:15

>>14
[m]$ clisp -[/m/
(princ (* 0.1 0.1))
0.010000001

Name: Anonymous 2011-11-05 16:28

> 0.1*0.1
3.14159265358+2.7182818284i

Name: Anonymous 2011-11-05 16:30

>>14
"numbercruncher"
Doesn't understand IEEE 754.
laughingwhores.jpg

Name: VIPPER 2011-11-05 17:15

>>17
May "laughingwhores" bite your penis to death until you accept the VIP QUALITY to be the one true way to posting.

Name: Anonymous 2011-11-05 23:10

>>1

that's not Ruby.

Name: Anonymous 2011-11-05 23:13

bonerlang

Name: Anonymous 2011-11-05 23:57

If it ain't Lisp, it's crap.

Name: Anonymous 2011-11-06 0:49

dubz

Name: Anonymous 2011-11-06 4:21

>>14
numbercruncer

laughing_Niggers.tif

What are you, 5?

Name: Anonymous 2011-11-07 4:31

>>23
>implying

Name: Anonymous 2011-11-07 8:53

>>23
user_name@machine_name ?

Name: Anonymous 2011-11-07 9:29

>>24,25

autism

autism everywhere

Name: Anonymous 2011-11-07 9:41

>>1
That's Erlang.

Name: Anonymous 2011-11-07 13:22

>>12
never again

Name: Anonymous 2011-11-07 13:26

>>28
Why not?

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