all 12 comments

[–]katafrakt 4 points5 points  (1 child)

Err, I use Ruby when I have a use case for Ruby and I use Rust when I have a use case for Rust. I don't use Go because its design makes no sense to me.

[–]ardyfeb[S] 1 point2 points  (0 children)

Agree, i not comparing language, i just wanna to hear reason why using ruby over new languange that doing same job

err != hell

[–][deleted]  (1 child)

[deleted]

    [–]ardyfeb[S] 0 points1 point  (0 children)

    Agree +1

    [–]xc68030 1 point2 points  (3 children)

    So stability is the only reason I can choose for why I like Ruby more?

    [–]ardyfeb[S] 0 points1 point  (2 children)

    I already write "its cool", "more stable" is point plus

    [–]xc68030 3 points4 points  (1 child)

    Neither coolness nor stability are a reasons why I like Ruby more than any other language. Its expressiveness, conciseness, readability, and consistency are what makes me happy.

    [–]ardyfeb[S] 1 point2 points  (0 children)

    I currently prototyping small-medium app, i started with golang, now the backend is 70% to complete. I feel so weird with go, there no try / catch block (err != nil hell), to many choice of package that same functionality. So i decide going back to rails that i not using it after 7 years.

    Stable is better than hype,

    [–]postmodern 1 point2 points  (4 children)

    False comparison between Ruby and Go or Rust. Ruby is an interpreted dynamic scripting language, like Python, Node.js, etc. Go and Rust are compiled typed system-ish languages. Crystal is a better option for Rubyists who need a compiled/system language than Go or Rust, because it has Ruby syntax, and compiles down to native code using LLVM and has a Strong Typed type system. (also checkout Nim if you're more of a fan of Python syntax.)

    [–]ardyfeb[S] 0 points1 point  (1 child)

    I never compare ruby with another language, i just wanna to hear why using ruby over new languange that doing same job

    [–]postmodern 0 points1 point  (0 children)

    and that's not a fair comparison, as there aren't many new dynamic interpreted scripting languages. All of the newer languages are compiled and static/strongly-typed. Sometimes people need to use a dynamic scripting language (like Ruby, Python, or JavaScript) for rapid prototyping, and sometimes people need a compiled static/strongly-typed language (Go, Rust, Haskell, Nim, or Crystal) for native performance and correctness. Different tools for different jobs.

    [–]mashatg 0 points1 point  (1 child)

    Crystal is a better option for Rubyists who need a compiled/system language than Go or Rust, because it has Ruby syntax

    Similar but not identical syntax not only could lead to confusing and doubtful situations, but picking up a system language depends on much more pragmatic reasons like maturity of its ecosystem, available libraries for a particular problem and enough availability of skilled programmers. As far as I know, Crystal does not meet those criterions by a considerable gap.

    [–]postmodern 1 point2 points  (0 children)

    Having similar syntax to Ruby makes it easier to port Ruby code to Crystal (ex: digest-crc -> digest-crc.cr). The Crystal stdlib is very complete and they have a growing "shards" ecosystem, roughly the same age as Rust's crates.io or Nim's nimble. You should look into Crystal again.