Your opinions on Ruby?
From C++ to PHP, debugging to webhosting; help and discussion about writing your latest program to running your website. NOT for help when your PC won't work.
| Announcements | Posted on | |
|---|---|---|
-
Re: Your opinions on Ruby?I'm already Python-fluent but I never actually bothered using it in real applications. I find it too sensitive to be practical.(Original post by THESHade)
Un-secure, don`t have enough low level control, ugly. (Never used it myself though... don`t wanna bully myself...)
Go for Python, u will never regret it.
-
Re: Your opinions on Ruby?That's what I've heard. A lot.(Original post by miser)
But Ruby on Rails is too much like magic, so I don't trust it. The code does too many things. -
Re: Your opinions on Ruby?What do you mean by that?(Original post by tamimi)
I'm already Python-fluent but I never actually bothered using it in real applications. I find it too sensitive to be practical.
Sensitive syntax AKA split != Split?
or (0,1,2) != [0,1,2]
Or smth else? -
Re: Your opinions on Ruby?I mean it's not tolerant to errors, for example, if you mis-indent in python, the whole thing goes FUBAR and starts running around naked.(Original post by THESHade)
What do you mean by that?
Sensitive syntax AKA split != Split?
or (0,1,2) != [0,1,2]
Or smth else? -
Re: Your opinions on Ruby?Only insofar as other languages might go crazy if you miss a } or a comma.(Original post by tamimi)
I mean it's not tolerant to errors, for example, if you mis-indent in python, the whole thing goes FUBAR and starts running around naked. -
Re: Your opinions on Ruby?Exactly.(Original post by estel)
Only insofar as other languages might go crazy if you miss a } or a comma.
+ you need to learn how to indent proprely anyway for other languages as well so you can actaully read your code better. -
Re: Your opinions on Ruby?(Original post by THESHade)
Exactly.
+ you need to learn how to indent proprely anyway for other languages as well so you can actaully read your code better.
I find that if you have a quite complicated set of nested if statements it is much easier to see where your mistake is when you're not just relying on indentation, might just be me personally but I find that to see things clearly I need the { and the indentation...(Original post by estel)
Only insofar as other languages might go crazy if you miss a } or a comma. -
Re: Your opinions on Ruby?Just get a good editor that highlights it for you.(Original post by iCiaran)
I find that if you have a quite complicated set of nested if statements it is much easier to see where your mistake is when you're not just relying on indentation, might just be me personally but I find that to see things clearly I need the { and the indentation... -
Re: Your opinions on Ruby?I'm not new to coding. At all. But thanks for the advice(Original post by THESHade)
Exactly.
+ you need to learn how to indent proprely anyway for other languages as well so you can actaully read your code better.
-
Re: Your opinions on Ruby?To be fair, printy-print is trivial for bracketed syntax.(Original post by THESHade)
Exactly.
+ you need to learn how to indent proprely anyway for other languages as well so you can actaully read your code better. -
Re: Your opinions on Ruby?You could emulate them if you really wanted - http://www.python.org/doc/humor/#pyt...sing-explained(Original post by iCiaran)
I find that if you have a quite complicated set of nested if statements it is much easier to see where your mistake is when you're not just relying on indentation, might just be me personally but I find that to see things clearly I need the { and the indentation...
But really if you've got more than 3 levels of if statements there's possibly (probably) a better approach. -
Re: Your opinions on Ruby?
I'm not entirely sure why there is a lot of hate on RoR or Ruby to point out the former OP's question.
It's quite a fast language and it's deployment shell is beautifully constructed. I personally don't use it and am stuck with a legacy system written in PHP at work - although being one of the largest sites in the UK it's still bloody optimised beyond anything else I've seen written in a while.
But back on topic, Ruby may have it's downside such as error control, but ultimately it's a very powerful and efficient language. RoR is a gem (no pun intended) to work with.