8
Timay
3y

The day I decide to learn Ruby will be the day I discover it can be used it for something interesting other than Rails

Comments
  • 1
    It's a general great scripting language with beautiful syntax.
  • 2
    For general scripting I find ruby way nicer to type than python or bash.
    The only thing I don't like is the gem management if you don't have bundler installed
  • 0
    @PrivateGER Oh the syntax is such a turn off for me... coming from C++, C#, Java
  • 2
    @Timay Excuse me, WHAT?
  • 0
    @PrivateGER Everybody loves Ruby for its syntax but I absolutely hate it... its weird
  • 0
    @Timay W-why do you not like it
  • 0
    @PrivateGER I can decide to use or not use parentheses??

    Like I have to make up my mind about that too?

    Automatic returns???
    Why????

    Elsif?
    WHYYYY???

    There’s too many ways to do one thing...

    Should I go on?

    I’d take python any day...
  • 2
    @Timay That all is actually pretty useful, you know.
  • 1
    Ever looked up one liners in Ruby?
    Also ever had to do any operation for two arrays, intersection, union etc, too easy to do in Ruby than python.
    Irb is my calculator for anything. I find it super easy and handy.
  • 3
    I use Ruby for everything, not just web development. It's truly blissful to code in.
  • 0
    @knight

    Is it really that hard? Doesn’t seem like it.

    list(set().union(a, b, c))

    or

    list(set.intersection(*[set(i) for i in [a, b, c]])
  • 1
    @rhubarbcode Compare that to:

    a + b + c

    and

    a & b & c
  • 1
    Thanks @root
    Precisely this, why write so much!
Add Comment