What you're not getting about Ruby
-
Scott Hanselman blogs about all the fuss over the Ruby language[^]. :cool:
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Repentance The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
Scott Hanselman blogs about all the fuss over the Ruby language[^]. :cool:
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Repentance The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
Ruby looks cool. I'd love to learn it, but can't imagine when I'd ever use it. So...why bother? There are many things I can study in my free time which will prove useful to me soon. Sometimes I wish that sleep wasn't essential. I could get so much more done!!
:josh: My WPF Blog[^] FYI - Bob is a scarecrow who keeps Chuck Norris away from CodeProject.
-
Scott Hanselman blogs about all the fuss over the Ruby language[^]. :cool:
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Repentance The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
Scott Hanselman blogs about all the fuss over the Ruby language[^]. :cool:
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Repentance The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
Hanselman wrote:
[...] it often helps to have a language that makes expressing your intent very clear, concise, and above all, unambiguous. Unambiguous expression of intent gives you (and your customer) confidence that things will happen as expected.
What a great little quote that is. I'm gonna have to steal it the next time i'm trying to explain why i hate VB and C++ and C# and Java and English and whatever bastard language most legislation is written in and... ;P But yeah, it's true. I did a brief code review the other day. At the end, i had probably half a dozen method-specific notes, and easily a score of general notes***. On things like naming, and structure, and error handling. But frankly, even if all of the things i pointed out were fixed, it'd still be terrible, terrible code - it just wasn't written to be read. Even if every line was commented, it would still be terribly painful to read and maintain. There are documents that i must read now and then that are so dry, so stilted, so specific-yet-ambiguous**, that i never finish reading them***. They're English, but they're just instructions for a machine, and i hate being a meat puppet. I want to know why i'm doing something, why it should be done a certain way, and if possible, have the opportunity to argue with someone about it 'till they've convinced me that they're not just full of it. And that, to me, is the big difference between code i enjoy working on and code that leaves me depressed and drained at the end of the day. The former is written by a programmer who has a story to tell, and may be returning to embellish on it a bit... the latter is just instructions to a machine******. *halfadozen? score? you're not being clear at all! Waaah! :rolleyes: ****** :snicker: *** often these are requirements documents... hmm, i wonder if that's ever caused problems... :rolleyes: ******
-
Ruby looks cool. I'd love to learn it, but can't imagine when I'd ever use it. So...why bother? There are many things I can study in my free time which will prove useful to me soon. Sometimes I wish that sleep wasn't essential. I could get so much more done!!
:josh: My WPF Blog[^] FYI - Bob is a scarecrow who keeps Chuck Norris away from CodeProject.
This is my feeling too. Sure it may be more declarative or whatever as compared to C#, but I still want to see a matrix of some sort that shows different languages ( Ruby and RoR incl ) and what the advantages are...
Cheers, Simon > company:: Broken Keyboards Software > blog:: brokenkeyboards > skype :: SimonMStewart > CV :: PDF
-
This is my feeling too. Sure it may be more declarative or whatever as compared to C#, but I still want to see a matrix of some sort that shows different languages ( Ruby and RoR incl ) and what the advantages are...
Cheers, Simon > company:: Broken Keyboards Software > blog:: brokenkeyboards > skype :: SimonMStewart > CV :: PDF
If you want to see the matrix, take the red pill... or was it the blue one? :cool: ------------------------------------- Damian - matrix? how about a hash #
-
Scott Hanselman blogs about all the fuss over the Ruby language[^]. :cool:
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Repentance The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
For UK readers the title translates as "What you're not getting about Ruby and why it's the dogs." Nick
-
Ruby looks cool. I'd love to learn it, but can't imagine when I'd ever use it. So...why bother? There are many things I can study in my free time which will prove useful to me soon. Sometimes I wish that sleep wasn't essential. I could get so much more done!!
:josh: My WPF Blog[^] FYI - Bob is a scarecrow who keeps Chuck Norris away from CodeProject.
Josh Smith wrote:
but can't imagine when I'd ever use it. So...why bother?
Well, obviously. If you don't have a use for something and you don't want to learn it for personal pleasure then don't. I use Ruby mainly because of Ruby on Rails. It is a lovely web framework and Ruby is a good language for what I want to do. C# and co. were overkill in many respects. But those are my needs. Nobody should be trying to convince you to use Ruby when C++ is better for your task at hand.
regards, Paul Watson Ireland & South Africa
Shog9 wrote:
And with that, Paul closed his browser, sipped his herbal tea, fixed the flower in his hair, and smiled brightly at the multitude of cute, furry animals flocking around the grassy hillside where he sat coding Ruby on his Mac...
-
Scott Hanselman blogs about all the fuss over the Ruby language[^]. :cool:
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Repentance The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
I like Ruby and use it everyday. It isn't for every task though and it isn't for every programmer. Structured programmers would have a hard time changing their current good habits to fit into Ruby. Learn it if you want to or if you think it will help you in your job. It's not a religion.
regards, Paul Watson Ireland & South Africa
Shog9 wrote:
And with that, Paul closed his browser, sipped his herbal tea, fixed the flower in his hair, and smiled brightly at the multitude of cute, furry animals flocking around the grassy hillside where he sat coding Ruby on his Mac...
-
Scott Hanselman blogs about all the fuss over the Ruby language[^]. :cool:
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Repentance The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
I would suggest that Scott hanselman reads "The language instinct" as well as anything by Chomsky because his assumptions about human language are underinformed.
'--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd
-
This is my feeling too. Sure it may be more declarative or whatever as compared to C#, but I still want to see a matrix of some sort that shows different languages ( Ruby and RoR incl ) and what the advantages are...
Cheers, Simon > company:: Broken Keyboards Software > blog:: brokenkeyboards > skype :: SimonMStewart > CV :: PDF
SimonS wrote:
what the advantages are
This is one drum I keep beating. I have yet to see some example or hear someone give a demonstration of what Ruby or Rails brings to the table. I personally do not waste my time learning technologies just so I can say I know them. If the technology is not better than what I already have, I will not touch it. Time is far too important to waste! Oh, I watched a few demos such as "build a blog in 10 mintues". Yeah, so what, ASP.NET/C# can handle those things easily also. With all the enhancements with Linq and those to C#, I really do not see the need for something else. The only new thing I am learning lately is WPF/Silverlight and the new updates to .NET. Those I am sure I will use and not be a waste of time. If someone comes along with a better technology, I am all over it, but if I can do no more than with my current technologies, why bother...
Rocky <>< Latest Code Blog Post: Popfly! Check this out! Latest Tech Blog Post: 15 Free utilites!
-
This is my feeling too. Sure it may be more declarative or whatever as compared to C#, but I still want to see a matrix of some sort that shows different languages ( Ruby and RoR incl ) and what the advantages are...
Cheers, Simon > company:: Broken Keyboards Software > blog:: brokenkeyboards > skype :: SimonMStewart > CV :: PDF
> Sure it may be more declarative or whatever as compared to C#, but > I still want to see a matrix of some sort that shows different > languages ( Ruby and RoR incl ) and what the advantages are... This won't answer your questions, but it gives some insight into performance aspects of various languages: http://shootout.alioth.debian.org/ For example, it shows that Ruby is massively slow (slower than Python, Basic, Javascript and the like... actually Javascript seems to perform well), often taking hours to solve a problem which is solved by an equivalent C++ program in twenty or thirty seconds. Of course, the goal of Ruby isn't number-crunching performance, but it's still a bit of a shock to see the comparisons.
-
I like Ruby and use it everyday. It isn't for every task though and it isn't for every programmer. Structured programmers would have a hard time changing their current good habits to fit into Ruby. Learn it if you want to or if you think it will help you in your job. It's not a religion.
regards, Paul Watson Ireland & South Africa
Shog9 wrote:
And with that, Paul closed his browser, sipped his herbal tea, fixed the flower in his hair, and smiled brightly at the multitude of cute, furry animals flocking around the grassy hillside where he sat coding Ruby on his Mac...
I find the language quite cool, but, like any other weakly-typed language, I don't feel very "comfortable" with it.
If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Blog - My Photos - ScrewTurn Wiki
-
Scott Hanselman blogs about all the fuss over the Ruby language[^]. :cool:
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Repentance The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
I am not a fan of dynamic languages, but if I was Ruby would have been my first choice.
-
I find the language quite cool, but, like any other weakly-typed language, I don't feel very "comfortable" with it.
If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Blog - My Photos - ScrewTurn Wiki
Dario Solera wrote:
I don't feel very "comfortable" with it.
Yup, exactly what the C++ and Java guys around me say when they try Ruby. They all feel afraid of using a non-strongly typed language. I've been asked "How can you programme quality without types?" and there isn't a good answer except that the code we've produced in Ruby is quality. It is as tested, as solid and reliable as their Java or C++ code. All the web guys in the building who are used to PHP, JavaScript etc. though jump into Ruby and love it.
regards, Paul Watson Ireland & South Africa
Shog9 wrote:
And with that, Paul closed his browser, sipped his herbal tea, fixed the flower in his hair, and smiled brightly at the multitude of cute, furry animals flocking around the grassy hillside where he sat coding Ruby on his Mac...
-
> Sure it may be more declarative or whatever as compared to C#, but > I still want to see a matrix of some sort that shows different > languages ( Ruby and RoR incl ) and what the advantages are... This won't answer your questions, but it gives some insight into performance aspects of various languages: http://shootout.alioth.debian.org/ For example, it shows that Ruby is massively slow (slower than Python, Basic, Javascript and the like... actually Javascript seems to perform well), often taking hours to solve a problem which is solved by an equivalent C++ program in twenty or thirty seconds. Of course, the goal of Ruby isn't number-crunching performance, but it's still a bit of a shock to see the comparisons.
destynova wrote:
"Can you manipulate the multipliers and weights to make your favourite language the best programming language in the Benchmarks Game?" :laugh: Besides, big role play compiler quality... rather then language itself.
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe
-
destynova wrote:
"Can you manipulate the multipliers and weights to make your favourite language the best programming language in the Benchmarks Game?" :laugh: Besides, big role play compiler quality... rather then language itself.
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe
> Besides, big role play compiler quality... rather then language itself. True, although it's fair to assume some correlation since one goal of compiler writing is to strive to make the most efficient compiler possible. Anyway, of course this doesn't judge how 'good' the language is - I saw some nice examples on the linked page of the expressiveness of Ruby - for example "20.minutes.ago" and things like "capture_image if @camera.on? && @camera.memory_available?"... syntactically sweet.
-
> Besides, big role play compiler quality... rather then language itself. True, although it's fair to assume some correlation since one goal of compiler writing is to strive to make the most efficient compiler possible. Anyway, of course this doesn't judge how 'good' the language is - I saw some nice examples on the linked page of the expressiveness of Ruby - for example "20.minutes.ago" and things like "capture_image if @camera.on? && @camera.memory_available?"... syntactically sweet.
destynova wrote:
Anyway, of course this doesn't judge how 'good' the language is - I saw some nice examples on the linked page of the expressiveness of Ruby - for example "20.minutes.ago" and things like "capture_image if @camera.on? && @camera.memory_available?"... syntactically sweet.
Exactly. Every language has its strengths (sp?) and weaknesses. :)
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe
-
Dario Solera wrote:
I don't feel very "comfortable" with it.
Yup, exactly what the C++ and Java guys around me say when they try Ruby. They all feel afraid of using a non-strongly typed language. I've been asked "How can you programme quality without types?" and there isn't a good answer except that the code we've produced in Ruby is quality. It is as tested, as solid and reliable as their Java or C++ code. All the web guys in the building who are used to PHP, JavaScript etc. though jump into Ruby and love it.
regards, Paul Watson Ireland & South Africa
Shog9 wrote:
And with that, Paul closed his browser, sipped his herbal tea, fixed the flower in his hair, and smiled brightly at the multitude of cute, furry animals flocking around the grassy hillside where he sat coding Ruby on his Mac...
Paul Watson wrote:
They all feel afraid of using a non-strongly typed language
You probably mean dynamically typed.
Who is the creator? Finding Allah (Video) Surah Al-An'aam (Ayah 74-110)
-
Paul Watson wrote:
They all feel afraid of using a non-strongly typed language
You probably mean dynamically typed.
Who is the creator? Finding Allah (Video) Surah Al-An'aam (Ayah 74-110)
Ah no, the Java and C++ guys feel afraid of using a language that is not strongly-typed. i.e. Ruby is not strongly-typed. But I've seen half a dozen different ways of describing the same type systems so it doesn't really matter.
regards, Paul Watson Ireland & South Africa
Shog9 wrote:
And with that, Paul closed his browser, sipped his herbal tea, fixed the flower in his hair, and smiled brightly at the multitude of cute, furry animals flocking around the grassy hillside where he sat coding Ruby on his Mac...