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

Pages: 1-4041-8081-

Rubyfags

Name: Anonymous 2011-05-13 11:13

Your language is shit and the programs you write are slow. Switch to Python and be enlightened.

Name: Anonymous 2011-05-13 11:22

perl is better

Name: Anonymous 2011-05-13 11:30

Perlfag
Your language is shit and the programs you write are fucking illegible. Switch to get out and be a faggot.

Name: Anonymous 2011-05-13 12:43

>>3
o no i cant read perl it must be shit

Name: Anonymous 2011-05-13 13:13

I hate summer, I really do.

Name: Anonymous 2011-05-13 15:57

I wish I could code FizzBuzz ;_;

Name: Anonymous 2011-05-13 16:00

>>5
Welcome to the Eternal Summer II.

Name: Java Suit 2011-05-13 16:20

JAVA

Name: Anonymous 2011-05-13 16:42

>>5
u mad nigga

Name: Anonymous 2011-05-14 1:08

MORE LIKE
THERE'S THIS GIRL NAMED RUBY, SHE'S BLACK, AND I REALLY WANT TO RAIL HER, SO DOES TYRESE
AMIRITE LOLLLLLLLLLLLLLLLLLLLLLLLZzz!!11oNE!!1ONE1!

Name: Anonymous 2011-05-14 9:41

DUPPLES

Name: Anonymous 2011-05-24 9:22

>>10
I lol'd

Name: Anonymous 2011-05-24 9:36

>>10
Hey Berlusconi, how about GTFO?

Name: Anonymous 2011-05-24 9:54

>>13
Go back to /newpol/, please.

Name: Anonymous 2011-05-24 11:53

(lambda (x) x)

Name: Anonymous 2011-05-24 15:00

my dick is hard now

Name: Anonymous 2011-05-24 21:19

>>5
>>7
You mean ENDLESS EIGHT


参考y: 涼宮ハルヒの憂鬱

Name: Anonymous 2011-05-24 21:19

>>5,7
You mean ENDLESS EIGHT

参考y: 涼宮ハルヒの憂鬱

Name: sage 2011-05-24 21:20

sage

Name: sage 2011-05-24 21:20

sage

Name: sage 2011-05-24 21:20

sage

Name: sage 2011-05-24 21:20

sage

Name: sage 2011-05-24 21:20

sage

Name: sage 2011-05-24 21:21

sage

Name: sage 2011-05-24 21:21

sage

Name: sage 2011-05-24 21:21

sage

Name: sage 2011-05-24 21:22

sage

Name: sage 2011-05-24 21:23

sage

Name: sage 2011-05-24 21:23

sage

Name: sage 2011-05-24 21:23

sage

Name: sage 2011-05-24 21:24

sage

Name: sage 2011-05-24 21:24

sage

Name: sage 2011-05-24 21:24

sage

Name: sage 2011-05-24 21:24

sage

Name: sage 2011-05-24 21:25

sage

Name: sage 2011-05-24 21:25

sage

Name: sage 2011-05-24 21:25

sage

Name: sage 2011-05-24 21:27

sage

Name: Anonymous 2011-05-24 21:28

Name: Anonymous 2011-05-24 21:49

rufybags

Name: Anonymous 2011-05-24 21:57

5.times { puts 'hi' }

I mean what the fuck is that shit? The syntax is horrid, too.

Name: Anonymous 2011-05-24 22:09

>>41
No fucking shit, you fucking faggot fuck. FUCK!
Learn a fucking Lisp for shit's sake.

Name: Anonymous 2011-05-24 23:40

Lisp:

times 5 say "hi"


Ruby:

5.times { puts 'hi' }

Name: Anonymous 2011-05-24 23:56

>>43
Even the fucking loop macro is more legible than that Ruby pile of shit.

(loop for i from 1 to 5 do
          (format t "hi~%"))


Don't forget DOTIMES.
(dotimes (i 5)
       (format t "hi~%"))


Ruby sucks.

Name: Anonymous 2011-05-24 23:58

Rubyfag here. Ruby 1.9 is just as fast as Python (or to be more accurate, Python is just as slow as Ruby 1.9), but for everything other than speed, Ruby kicks ass.

Ruby has:

Better syntax
Everything is an Object™ (including lambdas)
There's more than 50 ways to do it

And most importantly...

NO FORCED INDENTATION OF CODE.

That said, if you cared about speed, why are you using a scripting language at all? Use C if you care about performance

Name: Anonymous 2011-05-25 0:00

>>45
Or lisp.

Name: Anonymous 2011-05-25 0:03

>>43
You forgot some parenthesis on that lisp example
>>44
That's more legible than this?
1.upto(5) do
  puts "hi"
end

Name: Anonymous 2011-05-25 0:06

>>47
Yes. And no, anon didn't forget any parens. He simply took advantage of reader macros which eliminated the use of parens at the top-level.

Name: Anonymous 2011-05-25 0:12

>>48

Okay, but honestly I don't see how you can get more legible than ruby.

"For every number from 1 to 5 do the following: print \"hi\" to the screen"

Name: Anonymous 2011-05-25 0:32

for i in 1..5 do printfn "hi"

Name: Anonymous 2011-05-25 2:05

>>50

# Ruby has many ways to do the same thing
# You can even replace the do and end with { and }
for i in 1..5 do print "hi" end
(1..5).each do print "hi" end
1.upto(5) do print "hi" end
5.times do print "hi" end

And in fact it's entirely legitimate to enclose any one of those lines of code in parenthesis and ask ruby for it's class like so

print ((5.times do print "hi\n" end).class)

Name: Anonymous 2011-05-25 2:41

>>51
I've played with Ruby for a while, and it's true you can do much awesomeness in Ruby in an elegant syntax and that it generally makes your everyday tasks seem too easy. HOWEVER, I'm still the "lisp/C/ASM" kind of faggot because the differences between those and toy languages like Python and Ruby are more fundamental than syntactical. Ruby, pretty much like Python, is crippled due to its internal design that is filled with ad-hoc solutions rather than one, fundamental solution to everything.

Lisp/C/ASM > *. * are all crippled to varying degrees. Some of them are more useful than others, some of them are more elegant than others, but non beat the Lisp/C/ASM trio.

Name: Anonymous 2011-05-25 3:02

>>49
Applescript:
repeat 5 times
   say "hi"
end

Name: Anonymous 2011-05-25 6:28

>>52
I don't think you've used C enough to realise it isn't the ``portable assembly'' uberlanguage that people seem to think it is.

Name: Anonymous 2011-05-25 9:45

Are you being trolled?

Name: Anonymous 2011-05-25 10:14

>>55
He just spammed /prog/ with
Afags.
Your B is shit and the C you D are E. F to G and be H.

Name: Anonymous 2011-05-25 10:41

>>56
YOU CAN FUCK HELL!!

Name: Anonymous 2011-05-25 13:07

>>47
You forgot some parenthesis on that lisp example
You can omit top level parens, if newline acts as a separator.

Name: Anonymous 2011-05-25 13:26

/prog/FAGS!!!
You go A and B the C of D!!!

Name: Anonymous 2011-05-25 13:27

>>58
if newline acts as a separator.
PIG FUCKING DISGUSTING

Name: Anonymous 2011-05-25 13:32

>>60
Tell this to Stephen Bourne.

Name: Anonymous 2011-05-25 14:27

Lisp:

factorial N:pos? -> N*(factorial N-1)
        ; N      -> 1


Ruby:

def factorial(n)
  case n
  when 0
    1
  when 1..Inf
    n*factorial(n-1)
  when _
    (_|_)
  end
end

Name: Anonymous 2011-05-25 14:31

>>62
Lisp:

factorial N:pos? -> N*(factorial N-1)
        ; N      -> 1

Scheme/Racket:

(λ(lambda)(((((((λ(lambda)(λ(λλ)(λ(λλλ)(λ(λambda)(λ(λαμβδα)(λ(λ)(if(λambda λαμβδα)λ((((((lambda lambda)λλ)λλλ)λambda)(λλλ λαμβδα))(λλ λαμβδα λ)))))))))(λ(lambda)(λ(λλ)(λ(λλλ)(λ(λambda)(λ(λαμβδα)(λ(λ)(if(λambda λαμβδα)λ((((((lambda lambda)λλ)λλλ)λambda)(λλλ λαμβδα))(λλ λαμβδα λ))))))))))(λ(lambda λαμβδα)(((((((λ(lambda)(λ(λλ)(λ(λλλ)(λ(λambda)(λ(λλλλ)(λ(λ)(if(λλ λλλλ)λ((((((lambda lambda)λλ)λλλ)λambda)(λλλ λλλλ))(λambda λ λαμβδα)))))))))(λ(lambda)(λ(λλ)(λ(λλλ)(λ(λambda)(λ(λλλλ)(λ(λ)(if(λλ λλλλ)λ((((((lambda lambda)λλ)λλλ)λambda)(λλλ λλλλ))(λambda λ λαμβδα))))))))))zero?)sub1)(λ(lambda λαμβδα)(((((((λ(lambda)(λ(λλ)(λ(λλλ)(λ(λambda)(λ(λλλλ)(λ(λ)(if(λλ λλλλ)λ((((((lambda lambda)λλ)λλλ)λambda)(λλλ λλλλ))(λambda λ)))))))))(λ(lambda)(λ(λλ)(λ(λλλ)(λ(λambda)(λ(λλλλ)(λ(λ)(if(λλ λλλλ)λ((((((lambda lambda)λλ)λλλ)λambda)(λλλ λλλλ))(λambda λ))))))))))zero?)sub1)add1)lambda)λαμβδα)))lambda)0)))sub1)zero?)lambda)1))

Name: Anonymous 2011-05-25 14:49

>>52
Why would you need one fundamental solution for everything?
>>62

Ruby:


def fact(n)
  if (n == 0)
    return 1
  else
    x = 1
    n.downto(1) do |a|
      x = x * a
    end
    return x
  end
end

Name: Anonymous 2011-05-25 14:51

>>64
Why would you need one fundamental solution for everything?
Why should we tolerate sub-perfect languages?

Name: Anonymous 2011-05-25 15:03

>>64
PIG DISGUSTING!

Name: Anonymous 2011-05-25 17:13

>>62
  when _
    (_|_)
RUBY'S BUTTOCK OPERATOR

Name: Anonymous 2011-05-25 17:18

>>67

You have just given me the worst idea ever.


<=>     (_|_)
 <=>    (_|_)
  <=>   (_|_)
   <=>  (_|_)
    <=> (_*_)
     <=>(_o_)
      <=>_o_)
       <=>O_)
        <=)_)
        (<)_)
        (_O_)
        (_o_)
        (_*_)
        (_|_)


And nine months later, perl on Rails was born.

http://www.bbc.co.uk/blogs/radiolabs/2007/11/perl_on_rails.shtml

Name: Anonymous 2011-05-25 17:57

>>68
Horrible!

Name: Anonymous 2011-05-25 18:07

>>65
yeah, we should definitely stop tolerating Lisps

Name: Anonymous 2011-05-25 18:31


8===D     (_|_)
 8===D    (_|_)
  8===D   (_|_)
   8===D  (_|_)
    8===D (_*_)
     8===D(_o_)
      8===D_o_)
       8===DO_)
        8===)_)
         8==)_)
          8=)_)
          (8)_)
          (_O_)
          (_o_)
          (_*_)
          (_|_)

Name: Anonymous 2011-05-25 18:48

>>70

Ruby and Python
Fix'd

Name: Anonymous 2011-05-25 19:02

>>72
Non homoiconic languages
FTFY

Name: Anonymous 2011-05-25 19:38

>>72-73
faggots. both of you.

Name: Anonymous 2011-05-25 21:32

furby gas

Name: Anonymous 2011-05-26 3:37

>>74-75
To the imageboards. Both of you.

Name: Anonymous 2011-05-26 6:26

>>76
faggot. you.

Name: Anonymous 2011-05-26 6:35

Name: Anonymous 2011-05-26 6:43

>>78
you too.

Name: Anonymous 2011-05-26 7:03

Name: Anonymous 2011-05-26 8:31

>>78,80
fuck off and die you faggot prescriptivist

Name: Anonymous 2011-05-26 9:21

Name: Anonymous 2011-05-26 9:33

>>82
Filthy jew, spamming prog with god Capitalism. Go burn to death in Nazi prison.

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