Ruby

>picrel
is it worth learning if I'm proficient at Python? what are its use cases?

Beware Cat Shirt $21.68

Rise, Grind, Banana Find Shirt $21.68

Beware Cat Shirt $21.68

  1. 2 weeks ago
    Anonymous

    Useless except for hipster programs and RPG Maker games.

    • 2 weeks ago
      Anonymous

      moronic take, thanks for bumping btw

      • 2 weeks ago
        Anonymous

        dead meme language

        why would you make the thread if you already have a strong opinion?

        • 2 weeks ago
          Anonymous

          my only opinion on the language is that it's not popular and maybe rendered obsolete by Python, but that doesn't mean it's absolutely useless
          I came here for different opinions other than Ruby LE BAD

          • 2 weeks ago
            Anonymous

            >rendered obsolete by Python, but that doesn't mean it's absolutely useless
            if you want to be pedantic, no language is absolutely useless
            doesnt mean its not practically useless

          • 2 weeks ago
            Anonymous

            It's not bad, just dead. That's it.

        • 2 weeks ago
          Anonymous

          >dead

          totally agree
          one of its strong points people talk about is its elegant and clean syntax
          and also, one of the well-known downsides to it is its lack of community, no huge libraries and modules like snakelang

          >well-known downsides to it is its lack of community, no huge libraries and modules like snakelang

          most ruby libraries were "finished" long before python became popular

          most python systems i made or inherited kept breaking on every update, meanwhile rails has been consistent and reliable for almost two decades now

  2. 2 weeks ago
    Anonymous

    perhaps it might have nicer syntax than python

    but if noone uses it, then noone develops for it, and there is no packages for the things you want to do with it

    • 2 weeks ago
      Anonymous

      totally agree
      one of its strong points people talk about is its elegant and clean syntax
      and also, one of the well-known downsides to it is its lack of community, no huge libraries and modules like snakelang

  3. 2 weeks ago
    Anonymous

    AFAIK it doesn't have any killer features or killer libraries compared to Python. They're very similar in the places that count, and Python is more popular.
    You could use it because you like it better than Python or you could use it because of the software already written in it. Lots of companies still use it.

  4. 2 weeks ago
    Anonymous

    >anon doesn't know about erlang

    • 2 weeks ago
      Anonymous

      admitedly I didn't, I'll look into it

  5. 2 weeks ago
    Anonymous

    ROR is great, very comfy. Other than that and developing pokemon fangames Ruby doesn't have much going for it. Lot of ruby hipsters moved to Elixir as well.

    • 2 weeks ago
      Anonymous

      funny thing is, I (OP) used PHP when I had to do backend on a webshit job, but sure, ROR is probably nicer

  6. 2 weeks ago
    Anonymous

    a lot better at prototyping than python, in my experience

    >less support for AI & web3 memery compared to python and javascript as any other two popular dynamic programming languages
    >which is increasingly becoming a good thing
    >if you know ruby you can write crystal, a performant compiled and statically type checked language
    >if you know ruby you can write elixir, an erlang-based FP language (low-latency, distributed, fault-tolerant systems)

  7. 2 weeks ago
    Anonymous

    The syntax is beautiful but the problem is the speed. The Crystal Programming Language is tries to fix that. Is a system programming language witht the same syntax.

  8. 2 weeks ago
    Anonymous

    legacy stuff, good money if you manage to get your foot into the door, otherwise idk.

  9. 2 weeks ago
    Anonymous

    it's pretty decent, i think these kinds of languages do have a place when you want to write applications fast / don't need insane performance and don't care too much about strong type checking, the syntax is good and easy to understand and follow and it's pretty popular in the open source world

    • 2 weeks ago
      Anonymous

      >easy to understand
      Ruby syntax is the opposite of easy to understand. They have crazy amount of syntax sugar

      • 2 weeks ago
        Anonymous

        compared to what? have an example? i always thought it was pretty intuitive, it's one of the few languages that i've worked with where things like method names are easily guessable because the author specifically designed it around the principle of least surprise

  10. 2 weeks ago
    Anonymous

    Ruby is max comfy and I feel it's just objectively better designed than Python. It has Smalltalk-style OOP and curiously supports FP very well, whereas Python is outright hostile to FP and has a kind of odd, Python-only take on OOP.

    >what are its use cases?
    Ruby is much better at making DSLs, Ruby is not anti-metaprogramming like Python.
    Ruby has better tooling (imo), near lisp-tier interactive programming (pry etc), redefine functions on the fly, etc.

    And look, about Ruby on Rails. I don't love Rails but I admit, if you fall for the MVC + CoC meme, it's the best framework for it, because it actually takes those ideas to their logical conclusion.

    That's about it. I prefer Ruby in virtually every way, Python simply has a bigger ecosystem and you can "import solution" a lot.

  11. 2 weeks ago
    Anonymous

    If you are proeficent at python you should jump to a static typed language instead.

    Leave dynamic typed langs to the kids.

  12. 2 weeks ago
    Anonymous

    There's still a ton of Rails stuff out there, but I doubt anyone's building anything new with it. It also has some fricking moronic syntax that was added a few years ago.
    I wouldn't bother learning it now. If you happen to land a job where it's necessary, you'd be able to pick it up pretty quickly if you've worked in Python before - that's kind of the whole point of Ruby.

Your email address will not be published. Required fields are marked *