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.
  • S sus@programming.dev
    This post did not contain any content.
    kindaabigdyl@programming.devK This user is from outside of this forum
    kindaabigdyl@programming.devK This user is from outside of this forum
    kindaabigdyl@programming.dev
    wrote last edited by
    #2

    Just use enums

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

      Empty string used to be like my own version of null pointer.

      1 Reply Last reply
      29
      • D This user is from outside of this forum
        D This user is from outside of this forum
        Scratch
        wrote last edited by
        #4

        Dark times…

        Like -1 for an Int nil value.

        U 1 Reply Last reply
        8
        • S sus@programming.dev
          This post did not contain any content.
          apfelwoischoppen@lemmy.worldA This user is from outside of this forum
          apfelwoischoppen@lemmy.worldA This user is from outside of this forum
          apfelwoischoppen@lemmy.world
          wrote last edited by
          #5

          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 1 Reply Last reply
          8
          • S sus@programming.dev
            This post did not contain any content.
            (des)mosthenesD This user is from outside of this forum
            (des)mosthenesD This user is from outside of this forum
            (des)mosthenes
            wrote last edited by
            #6

            lol I think this when I see “any”

            1 Reply Last reply
            8
            • S sus@programming.dev
              This post did not contain any content.
              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
              #7

              Ah, the SQLite approach!

              S A J 3 Replies Last reply
              23
              • S sus@programming.dev
                This post did not contain any content.
                driving_crooner@lemmy.eco.brD This user is from outside of this forum
                driving_crooner@lemmy.eco.brD This user is from outside of this forum
                driving_crooner@lemmy.eco.br
                wrote last edited by
                #8

                Kinda started using that with polars, force the scan/read schema as string, and down the road cast as the necessary type when needed. I’m calling it “just in time” data cleaning.

                1 Reply Last reply
                2
                • S sus@programming.dev
                  This post did not contain any content.
                  kiri (temp)K This user is from outside of this forum
                  kiri (temp)K This user is from outside of this forum
                  kiri (temp)
                  wrote last edited by
                  #9

                  Everithing is bytes.

                  J 1 Reply Last reply
                  7
                  • S sus@programming.dev
                    This post did not contain any content.
                    lime!L This user is from outside of this forum
                    lime!L This user is from outside of this forum
                    lime!
                    wrote last edited by
                    #10

                    some of you have never programmed in tcl and it shows

                    M F 2 Replies Last reply
                    9
                    • S sus@programming.dev
                      This post did not contain any content.
                      T This user is from outside of this forum
                      T This user is from outside of this forum
                      trxxruraxvr@lemmy.world
                      wrote last edited by
                      #11

                      Remember Tcl

                      F 1 Reply Last reply
                      6
                      • S sus@programming.dev
                        This post did not contain any content.
                        ? Offline
                        ? Offline
                        Guest
                        wrote last edited by
                        #12

                        Simply make everything an array of bytes

                        1 Reply Last reply
                        6
                        • S sus@programming.dev
                          This post did not contain any content.
                          Kruh MasterK This user is from outside of this forum
                          Kruh MasterK This user is from outside of this forum
                          Kruh Master
                          wrote last edited by
                          #13

                          M 1 Reply Last reply
                          7
                          • 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
                                          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