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

Pages: 1-4041-

Why doesn't /prog/ love ruby?

Name: Anonymous 2011-06-15 20:07

I mean hey, fix the slowness (it's already as fast as python), and it's a perfect language. The whole "everything as an object" concept and easy to understand syntax makes it both flexible and simple.

And having everything as an object makes even lambdas able to be passed as single variables, so you can pass an entire function as an argument to another function, without having to have that function evaluated till later.

WHY AREN'T YOU USING RUBY, /prog/?

Name: Anonymous 2011-06-15 20:11

Go back to reddit. Now.

Name: Anonymous 2011-06-15 20:13

>>2

I'm not from reddit, I'm from /g/.

Name: Anonymous 2011-06-15 20:14

>>3
Back to /g/, then.

Name: Anonymous 2011-06-15 20:23

>>4

Go back to /jp/ with your sages then.

Name: Anonymous 2011-06-15 20:35

>>5
Go back to the imageboards with your bumps first.

Name: Anonymous 2011-06-15 21:37

>>6

Why should I be assed to put a sage in my post every time I make one?

Name: Anonymous 2011-06-15 22:24

>>7
Because that is how we do things here and if you do not like it you are more than welcome to go the fuck back to whatever shit hole you were spawned from.
Eat a bowl of dicks ``faggot''

Name: Anonymous 2011-06-16 2:56


                                                
                        _,-%/%|                 
                    _,-'    \//%\               
                _,-'        \%/|%               
              / / )    __,--  /%\               
              \__/_,-'%(%  ;  %)%               
                      %\%,   %\                 
                        '--%'                   
                                                
                                                
                        _,-%/%|                 
                    _,-'    \//%\               
                _,-'        \%/|%               
              / / )    __,--  /%\               
              \__/_,-'%(%  ;  %)%               
                      %\%,   %\                 
                        '--%'                   
                                                
                                                
                        _,-%/%|                 
                    _,-'    \//%\               
                _,-'        \%/|%               
              / / )    __,--  /%\               
              \__/_,-'%(%  ;  %)%               
                      %\%,   %\                 
                        '--%'                   
                                                
                                                
                        _,-%/%|                 
                    _,-'    \//%\               
                _,-'        \%/|%               
              / / )    __,--  /%\               
              \__/_,-'%(%  ;  %)%               
                      %\%,   %\                 
                        '--%'                   
                                                
                                                
                        _,-%/%|                 
                    _,-'    \//%\               
                _,-'        \%/|%               
              / / )    __,--  /%\               
              \__/_,-'%(%  ;  %)%               
                      %\%,   %\                 
                        '--%'                   
                                                
                                                
                        _,-%/%|                 
                    _,-'    \//%\               
                _,-'        \%/|%               
              / / )    __,--  /%\               
              \__/_,-'%(%  ;  %)%               
                      %\%,   %\                 
                        '--%'                   
                                                
                                                
                        _,-%/%|                 
                    _,-'    \//%\               
                _,-'        \%/|%               
              / / )    __,--  /%\               
              \__/_,-'%(%  ;  %)%               
                      %\%,   %\                 
                        '--%'                   
                                                
                                                
                        _,-%/%|                 
                    _,-'    \//%\               
                _,-'        \%/|%               
              / / )    __,--  /%\               
              \__/_,-'%(%  ;  %)%               
                      %\%,   %\                 
                        '--%'                   
                                                
                                                
                        _,-%/%|                 
                    _,-'    \//%\               
                _,-'        \%/|%               
              / / )    __,--  /%\               
              \__/_,-'%(%  ;  %)%               
                      %\%,   %\                 
                        '--%'                   
                                                
                                                
                        _,-%/%|                 
                    _,-'    \//%\               
                _,-'        \%/|%               
              / / )    __,--  /%\               
              \__/_,-'%(%  ;  %)%               
                      %\%,   %\                 
                        '--%'                   
                                                
                                                
                        _,-%/%|                 
                    _,-'    \//%\               
                _,-'        \%/|%               
              / / )    __,--  /%\               
              \__/_,-'%(%  ;  %)%               
                      %\%,   %\                 
                        '--%'                   
                                                
                                                
                        _,-%/%|                 
                    _,-'    \//%\               
                _,-'        \%/|%               
              / / )    __,--  /%\               
              \__/_,-'%(%  ;  %)%               
                      %\%,   %\                 
                        '--%'                   
                                                
                                                
                        _,-%/%|                 
                    _,-'    \//%\               
                _,-'        \%/|%               
              / / )    __,--  /%\               
              \__/_,-'%(%  ;  %)%               
                      %\%,   %\                 
                        '--%'                   
                                                
                                                
                        _,-%/%|                 
                    _,-'    \//%\               
                _,-'        \%/|%               
              / / )    __,--  /%\               
              \__/_,-'%(%  ;  %)%               
                      %\%,   %\                 
                        '--%'                   
                                                
                                                
                        _,-%/%|                 
                    _,-'    \//%\               
                _,-'        \%/|%               
              / / )    __,--  /%\               
              \__/_,-'%(%  ;  %)%               
                      %\%,   %\                 
                        '--%'                   
                                                
                                                
                        _,-%/%|                 
                    _,-'    \//%\               
                _,-'        \%/|%               
              / / )    __,--  /%\               
              \__/_,-'%(%  ;  %)%               
                      %\%,   %\                 
                        '--%'                   
                                                
                                                
                        _,-%/%|                 
                    _,-'    \//%\               
                _,-'        \%/|%               
              / / )    __,--  /%\               
              \__/_,-'%(%  ;  %)%               
                      %\%,   %\                 
                        '--%'                   
                                                
                                                
                        _,-%/%|                 
                    _,-'    \//%\               
                _,-'        \%/|%               
              / / )    __,--  /%\               
              \__/_,-'%(%  ;  %)%               
                      %\%,   %\                 
                        '--%'                   
                                                
                                                
                        _,-%/%|                 
                    _,-'    \//%\               
                _,-'        \%/|%               
              / / )    __,--  /%\               
              \__/_,-'%(%  ;  %)%               
                      %\%,   %\                 
                        '--%'                   
                                                
                                                
                        _,-%/%|                 
                    _,-'    \//%\               
                _,-'        \%/|%               
              / / )    __,--  /%\               
              \__/_,-'%(%  ;  %)%               
                      %\%,   %\                 
                        '--%'                   
                                                
                                                .

Name: Anonymous 2011-06-16 4:38

>>2
You're kidding right ? r/programming love to hate everything that isn't Haskell or Python. And especially Ruby.

Name: Anonymous 2011-06-16 4:56

>>9
Is that what programming in Ruby is like?

Name: Anonymous 2011-06-16 6:02

>>9
now make it pee on the Sussman

Name: Anonymous 2011-06-16 6:56

I enjoy ruby immensenly. If I designed a language it would very much like ruby but much much terser.

Name: Anonymous 2011-06-16 7:02

Ruby uses that retarded "if then end" doesn't it? Can't I just use { and }? A certain program I use forces me to use LUA and it doesn't let me to do so. Does Ruby? If I can use { and }, then I'll start using Ruby right away because otherwise it looks awesome.

Name: Anonymous 2011-06-16 7:04

Fixed that for you >>1:

"WHY AREN'T YOU GUYS USING COMPLETE GARBAGE, /prog/?"

When put like that, its self explanatory.

Name: Anonymous 2011-06-16 7:48

>>15
>DISREGARD THAT, I USE RUBY
fix'd

Name: Anonymous 2011-06-16 7:54

>>14
bcuz u tuch urself at nite

Name: Anonymous 2011-06-16 8:22

IF "if then end" = TRUE
THEN WIN
END

Name: Anonymous 2011-06-16 8:48

>>1 is a phagmocyte

Name: Anonymous 2011-06-16 9:04

could you still stand for a minet and imagine how i put my dick in your mouth?

Name: Anonymous 2011-06-16 9:14

>>10
r/programming is clearly tsundere for Ruby.

Name: Anonymous 2011-06-16 10:10

>>21
You are tsundere for my dick. ^______^;;

Name: Anonymous 2011-06-16 10:21

>>22
Whoa. Nice dubs, bro. I checked 'em!

Name: Anonymous 2011-06-16 10:22

I thought /prog/ was supposed to love Ruby because it's from glorious Nippon and therefore kawaii.

Name: Anonymous 2011-06-16 10:50

And having everything as an object makes even lambdas able to be passed as single variables, so you can pass an entire function as an argument to another function, without having to have that function evaluated till later.
WOW I NEVER SAW THAT FEATURE BEFORE
NOT EVEN IN C
MAD
also
*lambdae

Name: Anonymous 2011-06-16 11:38

>>24
Shit is shit.

Name: Anonymous 2011-06-16 11:46

>>26
Even if it's from glorious Nippon?

Name: Anonymous 2011-06-16 12:33

>>27
Only country which can be called glorious is Democratic People's Republic of Korea

Name: Anonymous 2011-06-16 12:35

>>28
MANSE!

Name: Anonymous 2011-06-16 12:36

>>28
Those commie fags don't even have the internets.

Name: Anonymous 2011-06-16 12:44

Embracing the atmosphere of Baekdu Mountain,
Nest for the spirit of labour,
The firm will, bonded with truth,
Will go forth to all the world.
The country established by the will of the people,
Breasting the raging waves with soaring strength.
Let us glorify forever this Korea,
Limitlessly rich and strong.

Name: Anonymous 2011-06-16 13:38

>>14

Yes.

Name: Anonymous 2011-06-16 13:52

>>1
Why aren't you using JavaScript?
Why aren't you using Lua?
Why aren't you using Io?
Why aren't you using fucking Smalltalk?!

Name: Anonymous 2011-06-16 20:50

>>33
Because I am neither a web developer, a game developer, a weirdo nor a moron.

Name: Anonymous 2011-06-16 21:38

>>33

Ruby includes elements of all those languages.

Name: Anonymous 2011-06-16 21:50

>>35
C++ includes elements of everything, and Perl includes anything, your argument is invalid.

Name: Anonymous 2011-06-16 23:33

It doesn't offer me anything I haven't found in other languages, and it doesn't challenge my mode of thinking. I look for languages with alternative paradigms and different methods of doing everything to exercise my critical and creative thinking, and I look for languages with useful and original features because doing everything myself is a gigantic pain in the ass.

The "everything is an object" idea isn't something that hasn't been seen a dozen times before, in Python, for instance. According to the author, Ruby is intended to be a language to make programming easier and more fun, which is all fine and well; I've got no problem with it if people enjoy it. But it doesn't introduce anything new.

Name: Anonymous 2011-06-16 23:40

replace python? LOL

IHBT

Name: Anonymous 2011-06-16 23:53

Because ruby lets you write shit like this: https://github.com/rkh/almost-sinatra/blob/master/almost_sinatra.rb

I don't need that much rope to hang myself. Influenced way too much by Perl and not enough by Python.

Name: Anonymous 2011-06-17 0:32

>>39
Don't be blaming that shit on Perl. Perl's linguistic influence is at least meaningful. And thank fuck you can't write 5.times in Perl. Or 5->times for that matter.

Name: Anonymous 2011-06-17 0:38

Reasons why ruby sucks?
Blocks are not lambdas are not procs are not methods are not blocks are not procs are not lambdas are not blocks are not methods. In a decent language they're all the same. (a decent language has a multiple dispatch object system with generic functions if any)

Other reasons?
      end
    end
  end
end


Variables are not declared (or declaration looks the same as assignment) variable = 1; variabIe = 2; if variable == 2 then puts "foo" end

Not to mention it's slow as fuck.

Name: Anonymous 2011-06-17 2:04

>>41
It's only as slow as Python. RoR is Ruby as fuck, thanks to all the damn monkey patching. Moot point I guess, Ruby wouldn't be cool without its coke habit.

I prefer end to } 9 days out of ten.

Name: Anonymous 2011-06-17 2:35

I prefer end to } 9 days out of ten.
Why? It's arbitrary.

x = do this
       that
       somethingelse $ do
         more stuff
         more
         andThen $ do
           morestuff


No need for ends.

Name: Anonymous 2011-06-17 2:51

>>40
And thank fuck you can't write 5.times in Perl. Or 5->times for that matter.
They changed -> to . in Perl 6.

Name: Anonymous 2011-06-17 3:00

>>44
Glad you mentioned it. Now I get to point out that .times isn't Cool. You'd have to go full retard and monkey patch it.

Name: Anonymous 2011-06-17 3:45

>>40
My pleasure:
perl6 -e 'use MONKEY_TYPING; augment class Int { method times($c) { $c.() for (1..self) } }; 5.times: { say "fuck off" }'       
fuck off
fuck off
fuck off
fuck off
fuck off

Name: Anonymous 2011-06-17 5:20

>>39

Ruby is very well capable of not looking like crap, but there is absolutely no problem with letting the programmer go nuts if he so pleases. Adding restrictions only makes a language worse.

>>41

For any do end block you can use { and } instead... everything else I can't help you with, but luckily vim uses different syntax coloring for an end to an if/else/case statement than it does for a class/module/method/block definition.

>>43

Indentation without something to close it looks like crap.

Name: Java Suit 2011-06-17 6:31

JAVA

Name: Anonymous 2011-06-20 19:32

>>1
Because all Ruby programmers are pretentious gen-Y faggots with no background past Java or PHP who think first-class functions are a subset of OOP.

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