Skip to content
  • Categories
  • Recent
  • Tags
  • All Topics
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • 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
Caint logo. It's just text.
  1. Home
  2. Programmer Humor
  3. Stringly typed
Welcome to Caint!

Issues? Post in Comments & Feedback
You can now view, reply, and favourite posts from the Fediverse. You can click here or click on the on the navigation bar on the left.

Stringly typed

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
46 Posts 34 Posters 1 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.
  • P panda_abyss@lemmy.ca

    Ah, the SQLite approach!

    S This user is from outside of this forum
    S This user is from outside of this forum
    saltesc@lemmy.world
    wrote last edited by
    #14

    God, I’m so over SQL.

    It’s great, but it is so old and shows it. Feels like 99% of my SQL queries are just cheese.

    Works though, and quick.

    M 1 Reply Last reply
    7
    • lime!L lime!

      some of you have never programmed in tcl and it shows

      M This user is from outside of this forum
      M This user is from outside of this forum
      magic_lobster_party
      wrote last edited by
      #15

      I opened a TCL script once. It’s use of uplevel scared me. I’ve never dared to return since.

      For those who don’t know: uplevel is a command that goes up one level of the stack frame, and then executes code there. A function can therefore execute code in its callers stack frame.

      1 Reply Last reply
      14
      • M This user is from outside of this forum
        M This user is from outside of this forum
        marcos@lemmy.world
        wrote last edited by
        #16

        Oh, you worked at Oracle by any chance?

        1 Reply Last reply
        19
        • S saltesc@lemmy.world

          God, I’m so over SQL.

          It’s great, but it is so old and shows it. Feels like 99% of my SQL queries are just cheese.

          Works though, and quick.

          M This user is from outside of this forum
          M This user is from outside of this forum
          mesa
          wrote last edited by
          #17

          SQL is the only bedrock in my entire career. Its the one thing that has stayed relevant.

          SQL is great but when you start having issues processing what is actually going on, its fine to pull out what you need and throw another language on top (python, C#, etc…etc…). Getting it to work slow is one step in making it fast again.

          V 1 Reply Last reply
          13
          • D Scratch

            Dark times…

            Like -1 for an Int nil value.

            U This user is from outside of this forum
            U This user is from outside of this forum
            uranibaba@lemmy.world
            wrote last edited by
            #18

            Which language can nil an int?

            V E 2 Replies Last reply
            5
            • U uranibaba@lemmy.world

              Which language can nil an int?

              V This user is from outside of this forum
              V This user is from outside of this forum
              valmond@lemmy.world
              wrote last edited by
              #19

              Just cast it. /s

              E 1 Reply Last reply
              2
              • M mesa

                SQL is the only bedrock in my entire career. Its the one thing that has stayed relevant.

                SQL is great but when you start having issues processing what is actually going on, its fine to pull out what you need and throw another language on top (python, C#, etc…etc…). Getting it to work slow is one step in making it fast again.

                V This user is from outside of this forum
                V This user is from outside of this forum
                valmond@lemmy.world
                wrote last edited by
                #20

                Yeah it’s curious that it hasn’t really undergone some major changes or had some major challengers (except NoSQL I guess).

                M P 2 Replies Last reply
                2
                • P panda_abyss@lemmy.ca

                  Ah, the SQLite approach!

                  A This user is from outside of this forum
                  A This user is from outside of this forum
                  asperan
                  wrote last edited by
                  #21

                  It is also the bash approach, isn’t it?!

                  allnewtypeface@leminal.spaceA M 2 Replies Last reply
                  9
                  • V valmond@lemmy.world

                    Yeah it’s curious that it hasn’t really undergone some major changes or had some major challengers (except NoSQL I guess).

                    M This user is from outside of this forum
                    M This user is from outside of this forum
                    mesa
                    wrote last edited by
                    #22

                    Its been a while but yeah NoSQL was the closest.

                    I remember a good 4-5 years where developers all around me were using couchdb, mongodb, and a host of others. mostly json in <-> json out kind of systems. And VERY hard to maintain after the initial TODO. I remember so much debugging and finding out old records didnt have a way to deal with changes in the “tables” or equivalents. It was maddening.

                    Dont get me wrong, it did create some really awesome specialty tools but you cant really get around ACID compliance when dealing with databases.

                    I think SQL has some awesome properties that keep it going:

                    1. Most major distributions are rock solid stable.
                    2. Its optimized and fast for data.
                    3. Its understandable to many types of industries. Software development is only the start.
                    4. Its integrated with everything already. So ODBCs can just plug and play most of the time.
                    5. Its the devil we know. ACID, transactions, etc… are all things we know about and are proven to work very well. Definitly when you need to MAKE SURE a thing made its way into the system.
                    V 1 Reply Last reply
                    8
                    • lime!L lime!

                      some of you have never programmed in tcl and it shows

                      F This user is from outside of this forum
                      F This user is from outside of this forum
                      Frezik
                      wrote last edited by
                      #23

                      I have. I quickly learned not to.

                      Tk is overlooked, though. It’s not pretty, and its approach is archaic, but it’s one of the few GUI toolkits that Just Works on every platform I tried it on with minimum fuss.

                      lime!L 1 Reply Last reply
                      3
                      • M mesa

                        Its been a while but yeah NoSQL was the closest.

                        I remember a good 4-5 years where developers all around me were using couchdb, mongodb, and a host of others. mostly json in <-> json out kind of systems. And VERY hard to maintain after the initial TODO. I remember so much debugging and finding out old records didnt have a way to deal with changes in the “tables” or equivalents. It was maddening.

                        Dont get me wrong, it did create some really awesome specialty tools but you cant really get around ACID compliance when dealing with databases.

                        I think SQL has some awesome properties that keep it going:

                        1. Most major distributions are rock solid stable.
                        2. Its optimized and fast for data.
                        3. Its understandable to many types of industries. Software development is only the start.
                        4. Its integrated with everything already. So ODBCs can just plug and play most of the time.
                        5. Its the devil we know. ACID, transactions, etc… are all things we know about and are proven to work very well. Definitly when you need to MAKE SURE a thing made its way into the system.
                        V This user is from outside of this forum
                        V This user is from outside of this forum
                        valmond@lemmy.world
                        wrote last edited by
                        #24

                        Yeah 100% with you, had this mongo database where the first entry was like a description, the nr 2 and on the actual data. I mean if there were a description… Sometes 2 descriptions…

                        Why oh why.

                        And for sure SQL is kind of the cement of DB today, don’t get me wrong, I like that what I learned yesterday actually still works, I’m just pondering the fact that it is so.

                        Maybe SQL isn’t the hip language so people doesn’t try to reinvent it all the time 😁

                        1 Reply Last reply
                        2
                        • T trxxruraxvr@lemmy.world

                          Remember Tcl

                          F This user is from outside of this forum
                          F This user is from outside of this forum
                          feyd@programming.dev
                          wrote last edited by
                          #25

                          I fucking love tcl

                          M 1 Reply Last reply
                          4
                          • S sus@programming.dev
                            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
                            cruel@programming.dev
                            wrote last edited by
                            #26

                            I took great pains last week to convert a big python project to make it typed. (shoutout to MonkeyType)

                            It’s so much nicer to develop now…

                            J 1 Reply Last reply
                            18
                            • V valmond@lemmy.world

                              Yeah it’s curious that it hasn’t really undergone some major changes or had some major challengers (except NoSQL I guess).

                              P This user is from outside of this forum
                              P This user is from outside of this forum
                              panda_abyss@lemmy.ca
                              wrote last edited by
                              #27

                              It has though

                              Window functions were an addition, but more recently struct, json, and array fields with native support. Pipe syntax is getting multiple implementations.

                              Match recognize is a whole new standard abstraction of window functions.

                              Union by name is being added (fuck union by position).

                              V 1 Reply Last reply
                              6
                              • apfelwoischoppen@lemmy.worldA apfelwoischoppen@lemmy.world

                                The NHL banned the use of 00 as a number in the 95-96 season because they claimed their databases couldn’t handle it. They still are fools because this continues to be a banned number to this day.

                                A This user is from outside of this forum
                                A This user is from outside of this forum
                                amazingawesomator@lemmy.world
                                wrote last edited by
                                #28

                                (i am old) both my brother and i were number 00 in our younger hockey years. we were goalies, so we got first pick of numbers on all new teams we played on, heheheh.

                                1 Reply Last reply
                                1
                                • P panda_abyss@lemmy.ca

                                  It has though

                                  Window functions were an addition, but more recently struct, json, and array fields with native support. Pipe syntax is getting multiple implementations.

                                  Match recognize is a whole new standard abstraction of window functions.

                                  Union by name is being added (fuck union by position).

                                  V This user is from outside of this forum
                                  V This user is from outside of this forum
                                  valmond@lemmy.world
                                  wrote last edited by
                                  #29

                                  Isn’t this more like evolution or even just optimisation? I mean it doesn’t seem like a fundamental shift (can be wrong, just checked it out quickly).

                                  P 1 Reply Last reply
                                  0
                                  • A asperan

                                    It is also the bash approach, isn’t it?!

                                    allnewtypeface@leminal.spaceA This user is from outside of this forum
                                    allnewtypeface@leminal.spaceA This user is from outside of this forum
                                    allnewtypeface@leminal.space
                                    wrote last edited by
                                    #30

                                    Also, Tcl (a cute little scripting language from the 90s, best known for giving the world the Tk UI toolkit; it was somewhat Lispy, only under the hood, worked like sh, where everything was a string).

                                    1 Reply Last reply
                                    3
                                    • S sus@programming.dev
                                      This post did not contain any content.
                                      katy  ✨C This user is from outside of this forum
                                      katy  ✨C This user is from outside of this forum
                                      katy ✨
                                      wrote last edited by
                                      #31

                                      make everything a string then cast all data every time you want to use that data in a variable.

                                      1 Reply Last reply
                                      0
                                      • S sus@programming.dev
                                        This post did not contain any content.
                                        B This user is from outside of this forum
                                        B This user is from outside of this forum
                                        brashboy@lemmy.world
                                        wrote last edited by
                                        #32

                                        If it’s not getting used in a mathematical function, I’m making it a string

                                        G 1 Reply Last reply
                                        2
                                        • V valmond@lemmy.world

                                          Isn’t this more like evolution or even just optimisation? I mean it doesn’t seem like a fundamental shift (can be wrong, just checked it out quickly).

                                          P This user is from outside of this forum
                                          P This user is from outside of this forum
                                          panda_abyss@lemmy.ca
                                          wrote last edited by
                                          #33

                                          Sure, i think its just sql has not had any breaking version changes in like… ever?

                                          V 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
                                          • All Topics
                                          • Popular
                                          • World
                                          • Users
                                          • Groups