Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. What you're not getting about Ruby

What you're not getting about Ruby

Scheduled Pinned Locked Moved The Lounge
rubyhtmlcom
25 Posts 16 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Judah Gabriel Himango
    wrote on last edited by
    #1

    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

    J S N P D 8 Replies Last reply
    0
    • J Judah Gabriel 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

      J Offline
      J Offline
      Josh Smith
      wrote on last edited by
      #2

      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.

      S P 2 Replies Last reply
      0
      • J Judah Gabriel 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

        S Offline
        S Offline
        Shog9 0
        wrote on last edited by
        #3

        Hey cool, his blog doesn't look like crap anymore! There's like... good colors... and stuff... (hours away from vacation, brain disengaging...)

        ----

        i hope you are feeling sleepy for people not calling you by the same.

        --BarnaKol on abusive words

        1 Reply Last reply
        0
        • J Judah Gabriel 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

          S Offline
          S Offline
          Shog9 0
          wrote on last edited by
          #4

          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: ******

          1 Reply Last reply
          0
          • J Josh Smith

            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.

            S Offline
            S Offline
            SimonS
            wrote on last edited by
            #5

            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

            _ R D 3 Replies Last reply
            0
            • S SimonS

              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

              _ Offline
              _ Offline
              _Damian S_
              wrote on last edited by
              #6

              If you want to see the matrix, take the red pill... or was it the blue one? :cool: ------------------------------------- Damian - matrix? how about a hash #

              C 1 Reply Last reply
              0
              • J Judah Gabriel 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

                N Offline
                N Offline
                nick_dowling
                wrote on last edited by
                #7

                For UK readers the title translates as "What you're not getting about Ruby and why it's the dogs." Nick

                1 Reply Last reply
                0
                • J Josh Smith

                  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.

                  P Offline
                  P Offline
                  Paul Watson
                  wrote on last edited by
                  #8

                  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...

                  1 Reply Last reply
                  0
                  • J Judah Gabriel 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

                    P Offline
                    P Offline
                    Paul Watson
                    wrote on last edited by
                    #9

                    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...

                    D 1 Reply Last reply
                    0
                    • J Judah Gabriel 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

                      D Offline
                      D Offline
                      Duncan Edwards Jones
                      wrote on last edited by
                      #10

                      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

                      1 Reply Last reply
                      0
                      • S SimonS

                        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

                        R Offline
                        R Offline
                        Rocky Moore
                        wrote on last edited by
                        #11

                        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!

                        1 Reply Last reply
                        0
                        • S SimonS

                          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

                          D Offline
                          D Offline
                          destynova
                          wrote on last edited by
                          #12

                          > 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.

                          D 1 Reply Last reply
                          0
                          • P Paul Watson

                            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...

                            D Offline
                            D Offline
                            Dario Solera
                            wrote on last edited by
                            #13

                            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

                            P 1 Reply Last reply
                            0
                            • J Judah Gabriel 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

                              N Offline
                              N Offline
                              Nemanja Trifunovic
                              wrote on last edited by
                              #14

                              I am not a fan of dynamic languages, but if I was Ruby would have been my first choice.


                              Programming Blog utf8-cpp

                              1 Reply Last reply
                              0
                              • D Dario Solera

                                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

                                P Offline
                                P Offline
                                Paul Watson
                                wrote on last edited by
                                #15

                                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...

                                A 1 Reply Last reply
                                0
                                • D destynova

                                  > 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.

                                  D Offline
                                  D Offline
                                  DavidNohejl
                                  wrote on last edited by
                                  #16

                                  destynova wrote:

                                  http://shootout.alioth.debian.org/

                                  "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

                                  D 1 Reply Last reply
                                  0
                                  • D DavidNohejl

                                    destynova wrote:

                                    http://shootout.alioth.debian.org/

                                    "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

                                    D Offline
                                    D Offline
                                    destynova
                                    wrote on last edited by
                                    #17

                                    > 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.

                                    D 1 Reply Last reply
                                    0
                                    • D destynova

                                      > 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.

                                      D Offline
                                      D Offline
                                      DavidNohejl
                                      wrote on last edited by
                                      #18

                                      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

                                      1 Reply Last reply
                                      0
                                      • P Paul Watson

                                        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...

                                        A Offline
                                        A Offline
                                        A A 0
                                        wrote on last edited by
                                        #19

                                        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)

                                        P 1 Reply Last reply
                                        0
                                        • A A A 0

                                          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)

                                          P Offline
                                          P Offline
                                          Paul Watson
                                          wrote on last edited by
                                          #20

                                          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...

                                          A 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups