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
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. I'm new to using Ruby and this tickled me pink

I'm new to using Ruby and this tickled me pink

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
68 Posts 47 Posters 2 Views
  • 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.
  • cm0002@lemmy.worldC This user is from outside of this forum
    cm0002@lemmy.worldC This user is from outside of this forum
    [email protected]
    wrote last edited by
    #1
    This post did not contain any content.
    M C E M G 16 Replies Last reply
    214
    • cm0002@lemmy.worldC [email protected]
      This post did not contain any content.
      M This user is from outside of this forum
      M This user is from outside of this forum
      [email protected]
      wrote last edited by
      #2

      is rainbow Brite in porn?

      C supervisor194@lemmy.worldS 2 Replies Last reply
      1
      • M [email protected]

        is rainbow Brite in porn?

        C This user is from outside of this forum
        C This user is from outside of this forum
        [email protected]
        wrote last edited by
        #3

        are you ok?

        1 Reply Last reply
        11
        • cm0002@lemmy.worldC [email protected]
          This post did not contain any content.
          C This user is from outside of this forum
          C This user is from outside of this forum
          [email protected]
          wrote last edited by
          #4

          Yukihiro “Matz” Matsumoto has often said that he is “trying to make Ruby natural, not simple,” in a way that mirrors life.

          https://www.ruby-lang.org/en/about/

          1 Reply Last reply
          22
          • cm0002@lemmy.worldC [email protected]
            This post did not contain any content.
            E This user is from outside of this forum
            E This user is from outside of this forum
            [email protected]
            wrote last edited by [email protected]
            #5

            LLM is saying this is a feature of Rails and not particularly Ruby.

            I was surprised Python didn’t have a years parameter but learned about

            relativedelta(years=10)

            C captain_aggravated@sh.itjust.worksC M I noxypaws@pawb.socialN 5 Replies Last reply
            13
            • E [email protected]

              LLM is saying this is a feature of Rails and not particularly Ruby.

              I was surprised Python didn’t have a years parameter but learned about

              relativedelta(years=10)

              C This user is from outside of this forum
              C This user is from outside of this forum
              [email protected]
              wrote last edited by
              #6

              You can add activesupport (I think that’s it) to get it if you don’t want to use all of rails.

              M 1 Reply Last reply
              3
              • E [email protected]

                LLM is saying this is a feature of Rails and not particularly Ruby.

                I was surprised Python didn’t have a years parameter but learned about

                relativedelta(years=10)

                captain_aggravated@sh.itjust.worksC This user is from outside of this forum
                captain_aggravated@sh.itjust.worksC This user is from outside of this forum
                [email protected]
                wrote last edited by
                #7

                Yeah that feels like the kind of smartass thing Python would do.

                1 Reply Last reply
                4
                • E [email protected]

                  LLM is saying this is a feature of Rails and not particularly Ruby.

                  I was surprised Python didn’t have a years parameter but learned about

                  relativedelta(years=10)

                  M This user is from outside of this forum
                  M This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #8

                  Yeah its a rails only thing. Rubys biggest issue is its much too intelligent for its own good. Its implicit rather than pythons explicit. Most of the time. That and it's hard to find out where Ruby starts and rails ends.

                  That being said I made a ton of good money on rails back about 15 or so years ago. Still excellent for starting out.

                  T 1 Reply Last reply
                  13
                  • C [email protected]

                    You can add activesupport (I think that’s it) to get it if you don’t want to use all of rails.

                    M This user is from outside of this forum
                    M This user is from outside of this forum
                    [email protected]
                    wrote last edited by
                    #9

                    That's what I end up seeing for most ruby only scripts. It works!

                    1 Reply Last reply
                    0
                    • cm0002@lemmy.worldC [email protected]
                      This post did not contain any content.
                      M This user is from outside of this forum
                      M This user is from outside of this forum
                      [email protected]
                      wrote last edited by
                      #10

                      People still use ruby?

                      S L C D sinthesis@lemmy.todayS 5 Replies Last reply
                      15
                      • cm0002@lemmy.worldC [email protected]
                        This post did not contain any content.
                        G This user is from outside of this forum
                        G This user is from outside of this forum
                        [email protected]
                        wrote last edited by
                        #11

                        Fuck Rails sideways

                        1 Reply Last reply
                        9
                        • M [email protected]

                          People still use ruby?

                          S This user is from outside of this forum
                          S This user is from outside of this forum
                          [email protected]
                          wrote last edited by
                          #12

                          I just started a new php gig

                          M blackmist@feddit.ukB 2 Replies Last reply
                          9
                          • cm0002@lemmy.worldC [email protected]
                            This post did not contain any content.
                            F This user is from outside of this forum
                            F This user is from outside of this forum
                            [email protected]
                            wrote last edited by [email protected]
                            #13

                            This implies that integers in ROR are complex objects with properties that would be unhelpful in the majority of scenarios. Is that right?

                            M 1 Reply Last reply
                            8
                            • F [email protected]

                              This implies that integers in ROR are complex objects with properties that would be unhelpful in the majority of scenarios. Is that right?

                              M This user is from outside of this forum
                              M This user is from outside of this forum
                              [email protected]
                              wrote last edited by
                              #14

                              Integers are just integers in ruby, with no structure backing them. They behave like objects, but only in some respects. You can call methods on them, but you can't extend individual numbers with properties for example (which would require them to have structure).

                              1 Reply Last reply
                              2
                              • M [email protected]

                                People still use ruby?

                                L This user is from outside of this forum
                                L This user is from outside of this forum
                                [email protected]
                                wrote last edited by
                                #15

                                The handful of us have moved onto Crystal Lang. It's a statically type checked and compiled dialect of Ruby. Crystal is fun to write code, but the compiler is slower (compared to go-lang/rust)... because... well it's a ruby dialect (with DSL's)... and the 3rd party libraries are limited.

                                M 1 Reply Last reply
                                3
                                • cm0002@lemmy.worldC [email protected]
                                  This post did not contain any content.
                                  V This user is from outside of this forum
                                  V This user is from outside of this forum
                                  [email protected]
                                  wrote last edited by [email protected]
                                  #16

                                  I'm gonna be honest, I never was drawn to python. I've been a professional developer for about a decade, and I've written all of one (1) python programs that I can remember (for my own personal use, mind).

                                  addie@feddit.ukA 1 Reply Last reply
                                  4
                                  • L [email protected]

                                    The handful of us have moved onto Crystal Lang. It's a statically type checked and compiled dialect of Ruby. Crystal is fun to write code, but the compiler is slower (compared to go-lang/rust)... because... well it's a ruby dialect (with DSL's)... and the 3rd party libraries are limited.

                                    M This user is from outside of this forum
                                    M This user is from outside of this forum
                                    [email protected]
                                    wrote last edited by
                                    #17

                                    This type checking, is it at run time?

                                    D 1 Reply Last reply
                                    1
                                    • S [email protected]

                                      I just started a new php gig

                                      M This user is from outside of this forum
                                      M This user is from outside of this forum
                                      [email protected]
                                      wrote last edited by
                                      #18

                                      I fucking love PHP. I know I probably sound crazy to most developers, but PHP 8+ is freaking dope.

                                      S 1 Reply Last reply
                                      12
                                      • M [email protected]

                                        I fucking love PHP. I know I probably sound crazy to most developers, but PHP 8+ is freaking dope.

                                        S This user is from outside of this forum
                                        S This user is from outside of this forum
                                        [email protected]
                                        wrote last edited by
                                        #19

                                        Yeah I was also pleasantly surprised having only heard about it before. Lots of good stuff

                                        C 1 Reply Last reply
                                        2
                                        • M [email protected]

                                          is rainbow Brite in porn?

                                          supervisor194@lemmy.worldS This user is from outside of this forum
                                          supervisor194@lemmy.worldS This user is from outside of this forum
                                          [email protected]
                                          wrote last edited by
                                          #20

                                          ahahaha oh come on, the comment was clearly a joke. To be honest, I'd be far more interested in gothly serious sam on the left.

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


                                          • Login

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