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.
  • 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
                    • P Paul Watson

                      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 Offline
                      A Offline
                      A A 0
                      wrote on last edited by
                      #21

                      Paul Watson wrote:

                      Ah no, the Java and C++ guys feel afraid of using a language that is not strongly-typed.

                      Than again the Java guys tell the C++ guys the need to manually manipulate memory is not always necessary. :) Though context (i.e. domain/application/business needs) is really important in these types of discussions (unless they have some sort of phobia and can't stand being around dynamically typed languages)

                      Paul Watson wrote:

                      i.e. Ruby is not strongly-typed.

                      Ruby is usually considered strongly typed... It's closer to Java than JavaScript in that respect.

                      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:

                        Ah no, the Java and C++ guys feel afraid of using a language that is not strongly-typed.

                        Than again the Java guys tell the C++ guys the need to manually manipulate memory is not always necessary. :) Though context (i.e. domain/application/business needs) is really important in these types of discussions (unless they have some sort of phobia and can't stand being around dynamically typed languages)

                        Paul Watson wrote:

                        i.e. Ruby is not strongly-typed.

                        Ruby is usually considered strongly typed... It's closer to Java than JavaScript in that respect.

                        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
                        #22

                        A.A. wrote:

                        Ruby is usually considered strongly typed

                        Usually in some circles and usually not in others. The Java guys here refuse to accept that Ruby is strongly typed and in my way of thinking I agree with them. Ruby in my head is dynamically typed or runtime typed. Frankly though you can call it Cat In The Hat typed for all I care. The language works well in my domain. (not saying you said it didn't :) )

                        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
                        • P Paul Watson

                          A.A. wrote:

                          Ruby is usually considered strongly typed

                          Usually in some circles and usually not in others. The Java guys here refuse to accept that Ruby is strongly typed and in my way of thinking I agree with them. Ruby in my head is dynamically typed or runtime typed. Frankly though you can call it Cat In The Hat typed for all I care. The language works well in my domain. (not saying you said it didn't :) )

                          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
                          #23

                          Paul Watson wrote:

                          Usually in some circles and usually not in others. The Java guys here refuse to accept that Ruby is strongly typed and in my way of thinking I agree with them. Ruby in my head is dynamically typed or runtime typed.

                          Maybe they don't really see the difference between Strongly/Weakly typed vs Statically/Dynamically typed... There is a big Difference.

                          Paul Watson wrote:

                          Frankly though you can call it Cat In The Hat typed for all I care. The language works well in my domain. (not saying you said it didn't )

                          :cool:

                          Who is the creator? Finding Allah (Video) Surah Al-An'aam (Ayah 74-110)

                          1 Reply Last reply
                          0
                          • _ _Damian S_

                            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 Offline
                            C Offline
                            Chuck Richards
                            wrote on last edited by
                            #24

                            lolololol. thats too good

                            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
                              Sphyr
                              wrote on last edited by
                              #25

                              What am I not getting from Ruby... many.. Can it be used on 3D Simulator project without tricky tricks, speed kill, and memory bloat? Ruby and all 'virtual machined' language is a no-no for that kind of project.:~ So what I am not getting in Ruby is.. manual memory management. For Web Apps ruby is more than great..;P

                              -- God will not change people fate until they change it themselves --

                              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