Off Topic
    • Categories
    • Tags
    • Users
    • Groups
    • Amazon
    • OT Fundraiser
    • Register
    • Login

    The OFFICIAL programming thread

    Tech
    22
    1.4k
    10.4k
    Loading More Posts
    • 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.
    • HogH
      Hog
      last edited by

      Oct 30

      Odin Programming Language

      Odin Programming Language

      I’m learning the Odin programming language. By default, when you save your source code the LSP reformats your code to the Odin recommended style. OK. I don’t love it when languages come with highly opinionated programming styles but I can learn to swallow my bile when it does things like replace my spaces with tabs. But then it goes and does this:

      6644dbbe-7150-4642-a12f-cfad0754e2f1-image.png

      What kind of un-gohly fucking terrorist aligns the case conditions with the switch?

      rote7R 1 Reply Last reply Reply Quote 2
      • GustafG
        Gustaf
        last edited by

        Isn’t Odin Finnish? You have your answer

        "Let's give it a week! Still a disaster? Let's give it another week…" -Tazz

        1 Reply Last reply Reply Quote 3
        • rote7R
          rote7 @Hog
          last edited by rote7

          @Hog said in The OFFICIAL programming thread:

          OK. I don’t love it when languages come with highly opinionated programming styles

          That’s exactly why I try to stay far away from python.

          EDIT

          That indentation style is unacceptable to my OCB.

          fffg

          1 Reply Last reply Reply Quote 1
          • KilemallK
            Kilemall Careful, railroad agent
            last edited by

            Weenies.

            https://i.imgur.com/hX2CMMZ.jpg

            Never go full Lithu-
            Twain

            No editing is gonna save you now-
            Wingmann

            http://s3.amazonaws.com/rrpa_photos/72217/DSC_2528.JPG

            http://s3.amazonaws.com/rrpa_photos/20416/PTOB 101_resize.jpg

            rote7R 1 Reply Last reply Reply Quote 1
            • rote7R
              rote7 @Kilemall
              last edited by

              @Kilemall said in The OFFICIAL programming thread:

              Weenies.

              Eighty columns ought to be enough for everybody?

              fffg

              KilemallK 1 Reply Last reply Reply Quote 0
              • KilemallK
                Kilemall Careful, railroad agent @rote7
                last edited by

                @rote7 said in The OFFICIAL programming thread:

                @Kilemall said in The OFFICIAL programming thread:

                Weenies.

                Eighty columns ought to be enough for everybody?

                Damn straight.

                Plus computer don’t care about neat placement. Syntax is another matter, that’s the madness of language/OS designers.

                https://i.imgur.com/hX2CMMZ.jpg

                Never go full Lithu-
                Twain

                No editing is gonna save you now-
                Wingmann

                http://s3.amazonaws.com/rrpa_photos/72217/DSC_2528.JPG

                http://s3.amazonaws.com/rrpa_photos/20416/PTOB 101_resize.jpg

                1 Reply Last reply Reply Quote 2
                • GustafG
                  Gustaf
                  last edited by

                  Computers should be shot!

                  "Let's give it a week! Still a disaster? Let's give it another week…" -Tazz

                  tiggerT B O 3 Replies Last reply Reply Quote 2
                  • tiggerT
                    tigger @Gustaf
                    last edited by

                    @Gustaf said in The OFFICIAL programming thread:

                    Computers should be shot!

                    This.

                    KilemallK 1 Reply Last reply Reply Quote 0
                    • B
                      Blanks @Gustaf
                      last edited by

                      @Gustaf said in The OFFICIAL programming thread:

                      Computers should be shot!

                      I look forward to seeing your Kid Rock style video for social media

                      1 Reply Last reply Reply Quote 0
                      • O
                        oyaji @Gustaf
                        last edited by

                        @Gustaf said in The OFFICIAL programming thread:

                        Computers should be shot!

                        Every last damned one of 'em.

                        © 2015 - 2025 oyaji

                        GustafG 1 Reply Last reply Reply Quote 0
                        • GustafG
                          Gustaf @oyaji
                          last edited by

                          office-space-film-workers-kicking-printer-to-destroy-v16rlu070kpzk5gq.gif

                          "Let's give it a week! Still a disaster? Let's give it another week…" -Tazz

                          1 Reply Last reply Reply Quote 1
                          • KilemallK
                            Kilemall Careful, railroad agent @tigger
                            last edited by

                            @tigger said in The OFFICIAL programming thread:

                            @Gustaf said in The OFFICIAL programming thread:

                            Computers should be shot!

                            This.

                            Vibe code much?

                            https://i.imgur.com/hX2CMMZ.jpg

                            Never go full Lithu-
                            Twain

                            No editing is gonna save you now-
                            Wingmann

                            http://s3.amazonaws.com/rrpa_photos/72217/DSC_2528.JPG

                            http://s3.amazonaws.com/rrpa_photos/20416/PTOB 101_resize.jpg

                            1 Reply Last reply Reply Quote 1
                            • Gators1G
                              Gators1
                              last edited by

                              17623982224821541831270377816550.jpg

                              17623982801946196695231754256584.jpg

                              alt text

                              tiggerT 1 Reply Last reply Reply Quote 1
                              • GustafG
                                Gustaf
                                last edited by

                                I’ll bet he’s fun.

                                "Let's give it a week! Still a disaster? Let's give it another week…" -Tazz

                                Gators1G 1 Reply Last reply Reply Quote 2
                                • Gators1G
                                  Gators1 @Gustaf
                                  last edited by

                                  @Gustaf said in The OFFICIAL programming thread:

                                  I’ll bet he’s fun.

                                  He has no time for fun. Fun just depreciates your assets.

                                  alt text

                                  1 Reply Last reply Reply Quote 1
                                  • O
                                    oyaji
                                    last edited by

                                    Ben Franklin thought similarly.

                                    © 2015 - 2025 oyaji

                                    JamJ 1 Reply Last reply Reply Quote 0
                                    • JamJ
                                      Jam @oyaji
                                      last edited by

                                      @oyaji said in The OFFICIAL programming thread:

                                      Ben Franklin thought similarly.

                                      I don’t know . . .

                                      I’ve heard and read Franklin had a lot of fun.

                                      "laissez les bons temps rouler!"

                                      KilemallK O 2 Replies Last reply Reply Quote 2
                                      • KilemallK
                                        Kilemall Careful, railroad agent @Jam
                                        last edited by

                                        @Jam said in The OFFICIAL programming thread:

                                        @oyaji said in The OFFICIAL programming thread:

                                        Ben Franklin thought similarly.

                                        I don’t know . . .

                                        I’ve heard and read Franklin had a lot of fun.

                                        That was investments!

                                        https://i.imgur.com/hX2CMMZ.jpg

                                        Never go full Lithu-
                                        Twain

                                        No editing is gonna save you now-
                                        Wingmann

                                        http://s3.amazonaws.com/rrpa_photos/72217/DSC_2528.JPG

                                        http://s3.amazonaws.com/rrpa_photos/20416/PTOB 101_resize.jpg

                                        1 Reply Last reply Reply Quote 2
                                        • O
                                          oyaji @Jam
                                          last edited by oyaji

                                          @Jam said in The OFFICIAL programming thread:

                                          @oyaji said in The OFFICIAL programming thread:

                                          Ben Franklin thought similarly.

                                          I don’t know . . .

                                          I’ve heard and read Franklin had a lot of fun.

                                          I remember reading about Franklin advocating continuous learning throughout the day, wasting not a minute, even while eating and pooping. I took up the habit myself while quite young after reading that, perhaps around age 7.

                                          DDGAI:
                                          "Benjamin Franklin also strongly advocated for lifelong learning and self-improvement. He believed in making the most of every moment to pursue knowledge, often engaging in reading while performing other activities. Franklin famously emphasized the pursuit of education as a key to personal development and societal progress. He created various initiatives, such as libraries and educational institutions, reflecting his commitment to continuous learning.

                                          "Franklin’s approach to learning was holistic, encouraging people to educate themselves in various fields, including science, philosophy, and public affairs, often memorably saying, “Tell me and I forget, teach me and I remember, involve me and I learn.” This illustrates his belief in active e"ngagement and constant personal growth.

                                          © 2015 - 2025 oyaji

                                          1 Reply Last reply Reply Quote 2
                                          • JamJ
                                            Jam
                                            last edited by

                                            Agree with the above, of course . . .

                                            . . . and . . .

                                            Benjamin Franklin’s Views on Fun and Enjoyment
                                            Emphasis on Enjoyment

                                            Benjamin Franklin believed in the importance of enjoying life. He often expressed that leisure and fun were essential for a balanced life. His famous saying, “Early to bed, early to rise makes a man healthy, wealthy, and wise,” reflects his belief in a disciplined life that also allows for enjoyment.
                                            Social Activities

                                            Franklin was known for his social gatherings and entertaining. He hosted “electrical picnics” where guests participated in fun experiments with electricity. These events were not only educational but also served as a way to socialize and enjoy each other’s company.
                                            Humor and Wit

                                            Franklin had a sharp sense of humor, which he often incorporated into his writings. He published satirical pieces, such as “Advice to a Friend on Choosing a Mistress,” showcasing his playful side. His use of pseudonyms, like Silence Dogood, allowed him to express his wit and engage with the public in a lighthearted manner.
                                            Contributions to Leisure

                                            Franklin founded several institutions that promoted community and leisure, including the first volunteer fire department and the Library Company of Philadelphia. These organizations encouraged social interaction and community engagement, reflecting his belief in the value of fun and camaraderie.

                                            In summary, Franklin valued fun as a vital part of life, promoting social activities, humor, and community engagement throughout his endeavors.

                                            "laissez les bons temps rouler!"

                                            O 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post