Slashdot Mirror


Programming in the Ruby Language

ShoeHorn writes: "Here is a good article (1st of a 4 part series), that introduces you to the Ruby language. If you are currently a programmer coming from the likes of C++, Perl, or Python, you will see some strong similarities (especially to Python)."

5 of 345 comments (clear)

  1. ick by Anonymous Coward · · Score: -1, Troll

    prepending a $ (or an @, for that matter) to a variable name looks gay

    'end', '}', 'fi', etc, to end a code block is also gay

  2. Re:Java has won Re:Why learn another language? by Anonymous Coward · · Score: -1, Troll
    Java as the end-all of languages, you have to be kidding. Does this mean I should get used to typing
    ((Integer)vector[i]).intValue()
    Hey, it's dynamic typing with all of the unsafety and none of the convenience.
  3. RUBY=SUCKS by Anonymous Coward · · Score: -1, Troll

    I'm not really sure what Ruby is since I've never used it but I'm sure it really sucks. If you are thinking about using Ruby then you should use C# instead. See, C# takes the best features of C, C++, Java and Smalltalk and combines them into one uberlanguage. There is no arguement, C# is THE BEST language any way you look at it:

    For Embedded Systems: It's saves time using the 'new' operator rather than malloc.

    For Networks: C# has winsock functions as part of its included package so you don't have to buy expensive libraries.

    Web Programming: Using namespaces will save you TONS of time. It's a real pain typing out java.this.that.blah.yah.foo.bar.add(x).

    And for those of you that say "hey, C# isn't open", YES IT IS! Anyone can make a C# compiler, the standards are totally open. Microsoft was just the first. That's right, while you commies were arguing over penguins and conspiracies, Microsoft was out there INNOVATING. C# is a real innovation for all you naysayers and bashers. So go move your red commie asses to Cuba already!

    In conclusion, C# is number one.

  4. ICFP by smasch · · Score: 1, Troll

    So when are we going to see this at ICFP? Oh wait, we already did, all the ruby entries failed.

  5. Nobody wants Ruby by Anonymous Coward · · Score: 0, Troll
    Two weeks ago we had the "Why not Ruby?" and now this. Ruby is LAME, we don't want it, stop trying to ram it down our throats.

    ---
    Could You Have Passed The 8th Grade in 1895?
    Vanguard News Network