Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
iamdisappoint ( iamdisappoint@reddthat.com )  to Programmer Humor@programming.dev · 10 months ago

It was best as a silly toy language in the 1990's...

reddthat.com

message-square
93
link
fedilink
397

It was best as a silly toy language in the 1990's...

reddthat.com

iamdisappoint ( iamdisappoint@reddthat.com )  to Programmer Humor@programming.dev · 10 months ago
message-square
93
link
fedilink
alert-triangle
You must log in or # to comment.
  • luciole (he/him) ( luciole@beehaw.org ) 
    link
    fedilink
    arrow-up
    88
    ·
    10 months ago

    Real programmers are language agnostic. Anyways what’s the project?

    • kayzeekayzee ( kayzeekayzee@lemmy.blahaj.zone ) 
      link
      fedilink
      English
      arrow-up
      87
      ·
      10 months ago

      We’re writing an online banking service entirely in brainfuck. Backend, frontend, even middleend if we have to

      • Deebster ( Deebster@infosec.pub ) 
        link
        fedilink
        arrow-up
        53
        ·
        10 months ago

        I enjoy the contradiction of middleend

        • PabloSexcrowbar ( PabloSexcrowbar@piefed.social ) 
          link
          fedilink
          English
          arrow-up
          3
          ·
          10 months ago

          It took me a solid half-dozen tries not to pronounce it “mid-leend.” After that much effort, I decided to let my dumb brain win and go with it.

    • arcterus ( arcterus@piefed.blahaj.zone ) 
      link
      fedilink
      English
      arrow-up
      69
      ·
      10 months ago

      For something you’re getting paid for, sure. But if you’re contributing in your free time for fun or whatever, presumably you’d prefer to use a language you actually like.

    • TeamAssimilation ( TeamAssimilation@infosec.pub ) 
      link
      fedilink
      arrow-up
      46
      ·
      10 months ago

      Real programmers will write in a way that user’s resources are not being wasted because you need a full browser, a JS runtime, and DOM juggling, to show even the simplest application.

      It’s not rare for simple JS applications to consume over half a gigabyte of RAM on startup, and way more CPU than their native counterparts. That this was normalized and even defended is stupid.

      • hperrin ( hperrin@lemmy.ca ) 
        link
        fedilink
        English
        arrow-up
        42
        ·
        10 months ago

        I think you’re thinking of Electron apps, but that’s not really a criticism of JavaScript, that’s a criticism of Electron. There are plenty of JS platforms that don’t require a browser/DOM. React Native is the biggest example. Also, GJS if you want native Linux apps.

      • Azzu ( Azzu@lemmy.dbzer0.com ) 
        link
        fedilink
        arrow-up
        12
        ·
        10 months ago

        Node does not require an excessive amount of resources.

        • CarrotsHaveEars ( racketlauncher831@lemmy.ml ) 
          link
          fedilink
          arrow-up
          1
          ·
          10 months ago

          But why Node? Node cost five seconds just to start up back when I worked on my embedded ARM v7 platform, and on modern x86_64 computers, npx anything takes just as long. Why rely on another runtime? Why not native binaries instead?

          • Azzu ( Azzu@lemmy.dbzer0.com ) 
            link
            fedilink
            arrow-up
            2
            ·
            10 months ago

            Because you have to figure out how to build them. And with that I mean, how do you make sure that whatever you’re doing will work and work the same way not only on your “embebbed ARM v7” architecture and all the other CPU architectures, but also the operating system libraries included? How do you make it work the same way on Mac, Windows 7, Windows 11, Ubuntu, custom Arch installations, FreeBSD, etc etc?

            If you build native binaries, you personally are the one who has to make sure it runs. This means (depending on how much you want to support) a lot of development or support time. (Or you make your users build it themselves and fix errors, which means a massively reduced userbase, good luck with adoption…)

            If you use Node, (or other virtual machines) you literally don’t have to do anything, because it just works.

            You really don’t see the value in that?

            • CarrotsHaveEars ( racketlauncher831@lemmy.ml ) 
              link
              fedilink
              arrow-up
              1
              ·
              10 months ago

              What you mentioned is compatibility across platforms. A program written in C is also guaranteed to run on all the systems you mentioned, given that the system has a C compiler and libc that stick to the standard. You, the programmer, does not have to anything to “make sure” your program works.

              See this insane list of platforms GCC supports.
              https://en.wikipedia.org/wiki/GNU_Compiler_Collection#Architectures

              We’ve invented high-level programming languages like C 53 years ago, just to get away from assembly, and to avoid dealing with the “cross-platform” problem you mentioned, remember?

              • Azzu ( Azzu@lemmy.dbzer0.com ) 
                link
                fedilink
                arrow-up
                1
                ·
                10 months ago

                What if the system does not have libc? What if your program needs obscure library X?

                Why do you think anyone even came up with the idea of virtual machines? Don’t you think they had a problem they wanted to solve, that was not solved adequately before?

                • CarrotsHaveEars ( racketlauncher831@lemmy.ml ) 
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  10 months ago

                  What if the system does not have libc?

                  No offence but I think I need to stop discussing with you.

    • termaxima ( termaxima@slrpnk.net ) 
      link
      fedilink
      arrow-up
      25
      ·
      10 months ago

      Yes and no. “Real” programmers care about engineering choices ; and JS is the cardboard of programming languages.

      Perfect for packaging (which in this metaphor is UI), horrible for building a bridge with. And vice-versa, I wouldn’t try and make amazon packaging out of reinforced concrete.

      • lad ( sukhmel@programming.dev ) 
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 months ago

        But for fun both bridge out of cardboard and packaging out of concrete might work, tastes differ ¯⁠\⁠_⁠(⁠ツ⁠)_⁠/⁠¯

    • Lucy :3 ( 30p87@feddit.org ) 
      link
      fedilink
      arrow-up
      6
      ·
      10 months ago

      Sorry, but Rust triggers me way too much.

    • lime! ( lime@feddit.nu ) 
      link
      fedilink
      arrow-up
      4
      ·
      10 months ago

      the bash language server is in nodejs…

      • cbazero ( cbazero@programming.dev ) 
        link
        fedilink
        arrow-up
        4
        ·
        10 months ago

        And it shouldn’t

    • sga ( sga@piefed.social ) 
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      2 months ago

      deleted by creator

      • luciole (he/him) ( luciole@beehaw.org ) 
        link
        fedilink
        arrow-up
        5
        ·
        10 months ago

        Also real programmers have impostor’s syndrome.

  • SethranKada ( SethranKada@lemmy.ca ) 
    link
    fedilink
    English
    arrow-up
    35
    ·
    10 months ago

    Feels the same whenever a project is written in python, but I uninstall it too.

    • The D Quuuuuill ( Quill7513@slrpnk.net ) 
      link
      fedilink
      English
      arrow-up
      16
      ·
      10 months ago

      why?

      • rhabarba ( tux0r@feddit.org ) Banned
        link
        fedilink
        arrow-up
        49
        ·
        10 months ago

        Same, so I’ll only answer for me: Python is dependency hell, also breaking existing code with every second update. Hard pass.

        • nixFREAK ( nixfreak@sopuli.xyz ) 
          link
          fedilink
          arrow-up
          23
          ·
          10 months ago

          Python versioning is terrible

        • SSUPII ( SSUPII@sopuli.xyz ) 
          link
          fedilink
          arrow-up
          14
          ·
          10 months ago

          We are no longer in the Python 2 days. You have lots of wiggle room for using the version you want and are rarely forced to use specific releases.

      • Ephera ( Ephera@lemmy.ml ) 
        link
        fedilink
        English
        arrow-up
        26
        ·
        10 months ago

        Personally, I find that (complex) software implemented in Python tends to be so unreliable that I typically don’t want to use it after all, but I only find that out after wasting a bunch of time learning the software.
        It’s just frustrating, especially if I come back to the software every so often, naively thinking that it’s been a few versions, so maybe they’ve fixed it. It’s always just different bugs, which still end up being too frustrating to use the software.


        To give an example, I like to compose music using Lilypond, which is more-or-less a programming language to create sheet music. And there is a program that’s supposed to give you a well-integrated workflow for that (i.e. an IDE), called Frescobaldi.
        The first time I tried it, playback of the composed music wouldn’t work.
        The second time, I couldn’t click on notes to jump to the respective code snippet.
        And I tried it again a few weeks ago and it just crashed immediately with an obscure error message.

        Instead, I’ve slapped together a script, which just opens the sheet music in my PDF viewer, the code in my normal editor and then uses a CLI tools to generate and playback the sheet music. And while it’s definitely not perfect, it has been working more reliably for me than Frescobaldi ever has.

      • insomniac_lemon ( insomniac_lemon@lemmy.cafe ) 
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 months ago

        I’m going to go with the multiple causes for slowness (and that’s interpreted languages in general). In some cases, things might be usable if I weren’t on Zen+ still (newer stuff has better IPC among other things).

        Things like JIT or no-GIL might reduce that, but I’m not sure that it’s that easy to fix (not being default (plus multiple options) seems to complicate bindings even).

  • Redkey ( Redkey@programming.dev ) 
    link
    fedilink
    arrow-up
    33
    ·
    10 months ago

    JS has saved me many hours of mind-numbing, error-prone manual keyboard work by giving me a way to hack together a simple bit of automation as a web page.

    Even when a computer has been ham-fistedly locked-down by an overzealous IT department, I can almost always still access a text editor and a browser that will load local HTML files.

    • mirshafie ( mirshafie@europe.pub ) 
      link
      fedilink
      arrow-up
      18
      ·
      10 months ago

      Add to that the beauty of bookmarklets.

      It’s silly that IT departments forces us to resort to techniques used before browser extensions became a thing, and it’s ironic that it’s because they don’t know how to code, but here we are.

  • melfie ( melfie@lemy.lol ) 
    link
    fedilink
    arrow-up
    23
    ·
    edit-2
    6 months ago

    deleted by creator

    • sip ( sip@programming.dev ) 
      link
      fedilink
      arrow-up
      9
      ·
      10 months ago

      agreed. typescript is excelent, especially if you make it strict and know a bit of complex types to make sure things stay put.

  • lonlazarus ( lonlazarus@lemmy.sdf.org ) 
    link
    fedilink
    English
    arrow-up
    22
    ·
    10 months ago

    Prissy little programmers

  • termaxima ( termaxima@slrpnk.net ) 
    link
    fedilink
    arrow-up
    16
    ·
    10 months ago

    JavaScript really depends on the people writing it restricting themselves to a sane (ish) subset, just like C++

    My personal gripe with JavaScript is how horribly slow it is. C++ at least has the merit of being fast once compiled. I wouldn’t feel great contributing to a JS project knowing fully well that a rewrite in a faster language would be 10x as effective as anything I could improve as is.

  • PearOfJudes ( PearOfJudes@lemmy.ml ) 
    link
    fedilink
    arrow-up
    15
    ·
    10 months ago

    I like minecraft

  • menas ( menas@lemmy.wtf ) 
    link
    fedilink
    arrow-up
    14
    ·
    10 months ago

    Javascript turn our computers into toasters

    • lessthanluigi ( lessthanluigi@lemmy.sdf.org ) 
      link
      fedilink
      arrow-up
      4
      ·
      10 months ago

      You know what they say! All Javascripts Toasts Computers!

  • rhabarba ( tux0r@feddit.org ) Banned
    link
    fedilink
    arrow-up
    12
    ·
    10 months ago

    Real men use Lisp.

    • RalfWausE ( RalfWausE@blackneon.net ) 
      link
      fedilink
      arrow-up
      8
      ·
      10 months ago

      You spelled Forth wrong.

    • nixFREAK ( nixfreak@sopuli.xyz ) 
      link
      fedilink
      arrow-up
      3
      ·
      10 months ago

      Guile hoot is pretty impressive , guile to wasm

      • tomenzgg ( tomenzgg@midwest.social ) 
        link
        fedilink
        English
        arrow-up
        4
        ·
        10 months ago

        Not to mention the entire Guile OS (Guix).

    • 0xDREADBEEF ( dreadbeef@lemmy.dbzer0.com ) 
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      clojurescript

      • rhabarba ( tux0r@feddit.org ) Banned
        link
        fedilink
        arrow-up
        3
        ·
        10 months ago

        Oof.

  • hperrin ( hperrin@lemmy.ca ) 
    link
    fedilink
    English
    arrow-up
    10
    ·
    10 months ago

    Some of the best software is written in JavaScript.

    • Uptime Kuma
    • Immich
    • Supabase
    • VS Code/VSCodium
    • Ionic (what the Voyager Lemmy client is written in)
    • Expo/React Native (which powers probably a third of your apps)
    • arcterus ( arcterus@piefed.blahaj.zone ) 
      link
      fedilink
      English
      arrow-up
      26
      ·
      10 months ago

      This doesn’t really conflict with the post. They use and appreciate the software, so presumably it’s decent. You can write good software in any language, so it doesn’t prove that the language itself is good. IMO JS is a popular language, not a good language.

      • hperrin ( hperrin@lemmy.ca ) 
        link
        fedilink
        English
        arrow-up
        2
        ·
        10 months ago

        What makes it not good?

        • arcterus ( arcterus@piefed.blahaj.zone ) 
          link
          fedilink
          English
          arrow-up
          16
          ·
          10 months ago

          The completely bizarre implicit type conversions, for one thing.

          • hperrin ( hperrin@lemmy.ca ) 
            link
            fedilink
            English
            arrow-up
            4
            ·
            10 months ago

            I’ve never really found the type conversions that bizarre, unless you’re doing something weird like casting an array to a string or number. I don’t really use strange type casts, since I use TypeScript and avoid using the “==“ operator. What other things make it not good?

            • arcterus ( arcterus@piefed.blahaj.zone ) 
              link
              fedilink
              English
              arrow-up
              10
              ·
              10 months ago

              I mean, just the fact that you’re using TS instead of plain JS (and that TS even exists) should tell you that the language has issues…

              • hperrin ( hperrin@lemmy.ca ) 
                link
                fedilink
                English
                arrow-up
                3
                ·
                10 months ago

                It’s just strict typing on top of plain JS. I like strict typing. Some people like loose typing.

                • arcterus ( arcterus@piefed.blahaj.zone ) 
                  link
                  fedilink
                  English
                  arrow-up
                  7
                  ·
                  10 months ago

                  I’m pretty sure most people do not like JS’s loosey-goosey, who-knows-what-ur-gonna-get type system, which is why TS is so popular. Not really surprising since the bones of the language were basically spat out in a couple weeks. TS is a custom type system on top of JS, meaning it’s not just JS’s type system expressed through strict typing. They added a bunch of useful features like discriminated unions and so on to make using TS more pleasant than raw JS.

                  TS is actually usable (although NPM and the environment built around it still suck). It’s inherited a bunch of weird shit from JS, but the type system generally makes them bearable.

                • SaharaMaleikuhm ( SaharaMaleikuhm@feddit.org ) 
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  10 months ago

                  Yes, but some are VERY opinionated about it. It’s almost religious with them. I think it’s silly. Both have their pros and cons. I honestly enjoy both and never had a big issue with loosely typed languages. I assume it’s just bad developers that mess up and get confused about it.

            • FishFace ( FishFace@piefed.social ) 
              link
              fedilink
              English
              arrow-up
              5
              ·
              10 months ago

              If you use typescript you will obviously never see the weird type system of JavaScript

              • Baguette ( Baguette@lemmy.blahaj.zone ) 
                link
                fedilink
                arrow-up
                4
                ·
                10 months ago

                still possible, typescript is only strongly typed if you and everyone else working on the project wants it to be.

              • hperrin ( hperrin@lemmy.ca ) 
                link
                fedilink
                English
                arrow-up
                2
                ·
                10 months ago

                Considering TypeScript is a superset of JavaScript, you certainly can. But, that generally means you’re using TypeScript poorly.

                • FishFace ( FishFace@piefed.social ) 
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  10 months ago

                  Just look up the video entitled “wat” which is mainly about JavaScript

        • FrankDeath ( FrankDeath@infosec.pub ) 
          link
          fedilink
          arrow-up
          3
          ·
          10 months ago

          https://www.destroyallsoftware.com/talks/wat

          • hperrin ( hperrin@lemmy.ca ) 
            link
            fedilink
            English
            arrow-up
            1
            ·
            10 months ago

            Yes, if you do silly things with JS, you generally get silly results instead of TypeErrors. I wouldn’t say that makes the language bad. It makes the language resilient to bad programming, which you’d generally want in the case of web pages.

    • MonkderVierte ( MonkderVierte@lemmy.zip ) 
      link
      fedilink
      arrow-up
      3
      ·
      10 months ago

      Using only VSCodium in this llist. But not much, because i always have to close it on evening, or the casual game with 300 mods wouldn’t run beside it and the webbrowser reserving about half of my 32 GB RAM.

      • hperrin ( hperrin@lemmy.ca ) 
        link
        fedilink
        English
        arrow-up
        2
        ·
        10 months ago

        Your VSCodium reserves ~8 GB of ram? You might want to check the extensions you’re using. I’ve got mine running with tons of open files and it’s using ~2 GB.

        Also, you should definitely give Immich a try. It’s an awesome piece of software.

    • Fushuan [he/him] ( fushuan@lemmy.blahaj.zone ) 
      link
      fedilink
      arrow-up
      2
      ·
      10 months ago

      Technically typescript. I know it transpiles to J’s but half the complaints I read are about the typo conversion and so on, which ts heavily alleviates.

    • CarrotsHaveEars ( racketlauncher831@lemmy.ml ) 
      link
      fedilink
      arrow-up
      1
      ·
      10 months ago

      VS Code is a good software? I beg to differ. It’s slow. It’s messy to look at. It’s resource hungry.

      If you think VS Code is a good editor, we can make an even better editor in another language.

      • hperrin ( hperrin@lemmy.ca ) 
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 months ago

        It is resource hungry. I’ll give you that. But it’s neither slow nor messy to look at. Have you ever used NetBeans or Eclipse?

        • CarrotsHaveEars ( racketlauncher831@lemmy.ml ) 
          link
          fedilink
          arrow-up
          1
          ·
          10 months ago

          You are comparing it to Eclipse. I also give you that.

  • Arthur Besse ( cypherpunks@lemmy.ml ) 
    link
    fedilink
    English
    arrow-up
    8
    ·
    10 months ago

    A few lists of javascript WTFs:

    • https://javascriptwtf.com/
    • https://github.com/denysdovhan/wtfjs
    • https://wtfjs.com/ (last updated 2016 but most of these things can/will never be fixed)

    To anyone who thinks they know JS well and that its quirkiness is not a problem, let me know how you do on these quizzes:

    • https://jsisweird.com/
    • https://jsdev.wtf/
    • https://javascriptquiz.com/
    • el_abuelo ( el_abuelo@programming.dev ) 
      link
      fedilink
      arrow-up
      3
      ·
      10 months ago

      this quirkiness doesn’t materialise in real world applications on any scale that makes it harder to deal with than the alternatives.

    • Hupf ( Hupf@feddit.org ) 
      link
      fedilink
      arrow-up
      2
      ·
      10 months ago

      Brian Leroux

  • addie ( addie@feddit.uk ) 
    link
    fedilink
    arrow-up
    7
    ·
    10 months ago

    I’m in this photo and I don’t like it.

    More specifically, my programming background is in industrial automation and I’d like to add some more ‘robust and flexible’ algorithms to CoolerControl so I can control my system fans / temperature better, but it’s written in a mix of TypeScript and Rust.

    I’ve spent 20 years programming hard real-time z80 assembly and know quite a few higher-level languages. (Although I prefer the lower-level ones.) Not those ones, however, so it’s not just a couple of hours work to raise a PR against that project. Going to need to crack some books.

  • Korhaka ( Korhaka@sopuli.xyz ) 
    link
    fedilink
    English
    arrow-up
    7
    ·
    10 months ago

    Unless you are making a HTML/CSS only site (based) what do you want to use instead?

    • CanadaPlus ( CanadaPlus@lemmy.sdf.org ) 
      link
      fedilink
      arrow-up
      7
      ·
      10 months ago

      Invent a new internet where you can script pages directly in Python or TypeScript.

      Otherwise, you get to enjoy a silly toy language from the 90’s.

      • CarrotsHaveEars ( racketlauncher831@lemmy.ml ) 
        link
        fedilink
        arrow-up
        2
        ·
        10 months ago

        I’m 100% sure I can make Rust code (not even compiled to WASM) run natively in a browser like Firefox, given I have enough will power, time, energy, and money. The problem is getting everyone else to agree to this new standard.

        • CanadaPlus ( CanadaPlus@lemmy.sdf.org ) 
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          10 months ago

          In a scripting language, is there an advantage to no garbage collection? (I honestly don’t know)

          Someone else also pointed out to me, when I made a similar suggestion, that ability to partially fail but keep going is desirable in a web context. I don’t know, maybe there’s some way to make Rust do that more automatically than C. Python seems the be the standard for general-purpose scripting, which is why I mentioned it.

  • Eemon ( eemon@programming.dev ) 
    link
    fedilink
    arrow-up
    4
    ·
    10 months ago

    So true.

  • url ( url@feddit.fr ) 
    link
    fedilink
    Français
    arrow-up
    2
    ·
    10 months ago

    I that’s me😁

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 385 users / day
  • 1.45K users / week
  • 3.18K users / month
  • 7.37K users / 6 months
  • 463 local subscribers
  • 33.4K subscribers
  • 1.52K Posts
  • 25K Comments
  • Modlog
  • mods:
  • Feyter ( Feyter@programming.dev ) 
  • adr1an ( anzo@programming.dev ) 
  • BurningTurtle ( BurningTurtle@programming.dev ) 
  • Pierre-Yves Lapersonne ( pylapp@programming.dev ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code