• Ogeon@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    I was a teacher’s assistant in beginner’s programming at university for a bit. I expected them to learn C, which I knew enough of, but I got assigned to a group that learned Python instead. I had never used Python at the time. I ended up having to speed learn it while trying to teach it, to not be completely useless.

    • mke@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      That is such a sweet reason! Whimsical decisions like this can be some of the best. Life demands a little whimsy every now and then.

      • andioop@programming.devOP
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 months ago

        Hey, thanks for the suggestion! I was considering firing up a VM just for Hare, but thanks for bringing this option to my attention.

    • best_username_ever@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      God. I didn’t knew that Drew was such a language nazi. If you want to write a Go clone, it must be useful for everyone. Even Emacs is available on Windows officially.

      • mke@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        2 months ago

        What a harebrained comment.

        …Sorry, it felt like such a waste not to say it!

        But, language Nazi? It must be useful for everyone? Why? I also think it’s a bit silly and hinders growth, but it’s their project. It’s well within their right to choose whether they put in the effort to support a platform or not, regardless of the reasoning and how much effort it’d actually take.

        They don’t even seem to be against it, they just don’t care enough to be the ones to do so right now:

        According to DeVault, while there’s currently no plan to support non-free platforms like macOS or Windows, a third-party implementation or fork could try to make that work. The Register

        Even Emacs is available on windows, you say? I think some context is needed, here. See what GNU has to say about the availability of Emacs on proprietary systems:

        However, GNU Emacs includes support for some other systems that volunteers choose to support.

        To improve the use of proprietary systems is a misguided goal. Our aim, rather, is to eliminate them. We include support for some proprietary systems in GNU Emacs in the hope that running Emacs on them will give users a taste of freedom and thus lead them to free themselves.

        Taken from the official download and install page.

          • mke@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            edit-2
            2 months ago

            Sure, and that matters because…? You seem to be treating hare as something it doesn’t want, nor care to be.

            I like to describe Hare as a simple, conservative, modern update to C, with a FOSS ethos. It doesn’t try to break computer science ground, or promise to solve a million dollar problem.

            And upstream Hare will not support non-libre operating systems. That’s a lot of conviction, but Hare isn’t trying to take over the world. It will coexist with the diversity of languages out there, and thrive in its own niche. In short, the Hare project develops for a libre future and for the deliberate programmer, not the corporate, the ephemeral and the reckless.

            From Torres, one of the core contributors.

            Your metrics for success aren’t the same as theirs.

  • neidu2@feddit.nl
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    “Gods, that’s stupid. Why is it being done this way? Have they never heard of naming conventions? Is the language really that awfully designed?”

    Learns PHP to find out more.

    “Yup…”

    • onlinepersona@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      PHP is a scourge. I wish less server software were written in it. You’ll stumble upon some opensource project with a cool UI, run into a problem and find out the docker container has apache, postgres, and PHP in it. Debugging PHP is such a pain and setting up a developer environment is such a hassle because they haven’t discovered docker for dev envs yet.

      Terrible experience all around.

      Anti Commercial-AI license

    • atomkarinca@lemmygrad.ml
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      R. because it’s really easy to work on spreadsheets. i know there’s pandas for python but at that time RStudio made it look really attractive. i will do anything not to work on excel.

      • __ghost__@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        When I took biostatistics in college I asked to use python instead of R to do my assignments and they said no

        My only real complaint at the time was using <- to define variables but I felt really strongly about it and that I wanted to use fancy snake language

    • AwkwardLookMonkeyPuppet@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      HEY! Is PHP ugly? Yes. Does it use stupid naming conventions? Also yes! But it’s an awesome language when you want to get shit done. There’s no other languages out there where you can just write some code in VIM directly on the server through SSH and immediately see your results without any further setup. No frameworks required, no packages, no imports, no buzzwords and hubub, just pure unadulterated utility.

      • FizzyOrange@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        Nonsense, there are tons of systems like that now. I’ve been playing with Deno & Fresh, it’s great. Trivial to install, a pretty great language, Fresh doesn’t force everything to be client side - you can easily write old school completely server side rendered sites if you want but you get to use TSX which is waaaaay superior to the old text based templating systems we used to use (Handlebars, Jinja, etc.).

        It also has built in hot reloading by default so even faster than PHP. Literally hit save and you see the results.

        • AwkwardLookMonkeyPuppet@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 months ago

          What’s this install nonsense? I just looked up Deno and it’s part of an NPM stack. With PHP you just

          1. Open an Apache server

          2. Write code

          3. ???

          4. Profit!

          • FizzyOrange@programming.dev
            link
            fedilink
            arrow-up
            0
            ·
            2 months ago

            I just looked up Deno and it’s part of an NPM stack.

            It’s not. It supports NPM modules for backwards compatibility, but the whole point is that it doesn’t inherit the NPM tooling mess. You can go from a new Linux install to a running Fresh project in 3 commands.

              • FizzyOrange@programming.dev
                link
                fedilink
                arrow-up
                0
                ·
                2 months ago

                There’s two things:

                Deno: this is a replacement for Node and NPM and prettier and some other tools. So one aspect is that it’s a more modern Node, using standard web APIs instead of Node specific stuff. And the other aspect is it is more streamlined modern tooling - no node_modules, no complicated build steps, built in Typescript support, etc. In fact you can use a single file as a script, similar to Python… but unlike Python you can use third party dependencies, which makes it fantastic for stuff like CI scripts, etc. where you might have suffered with Bash or Python before.

                Fresh: this is just a web framework targeting Deno. Honestly I haven’t used it much but I really like what I’ve seen so far. I always found React to be confusing and overkill for most sites, which should really be rendered server side, but also I really like the way you can compose components with JSX/TSX in a real language with full type checking. Fresh gives you both!

                • jjjalljs@ttrpg.network
                  link
                  fedilink
                  arrow-up
                  0
                  ·
                  2 months ago

                  but unlike Python you can use third party dependencies,

                  In what sense does python not have third party dependencies?

      • neidu2@feddit.nl
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        Incorrect. Perl does the same just as well, and it’s a language that actually makes sense while also being uglier.

        • sexual_tomato@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          0
          ·
          2 months ago

          In my experience Perl is a write-only language. Coming in behind someone else and fixing or writing their code is often slower than just rewriting it

          • neidu2@feddit.nl
            link
            fedilink
            arrow-up
            0
            ·
            2 months ago

            Perl is partially readable, provided that it’s your own code. The one thing perl coders hate the most, is other people’s code.

            Source: Am a perl coder

      • Nighed@feddit.uk
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 months ago

        PHP is native in Linux then?

        How is that different to something like powershell?

        • AwkwardLookMonkeyPuppet@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 months ago

          You can’t run a website off powershell. PHP can render HTML to the browser, so it’s perfect for website development. 99% of the web was PHP back in the wild West days.

  • CaptDust@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    I inherited a C# code base that had a custom runtime loader for APL modules. Over half of the app was actually written in APL with C# just hosting the API… so yeah, had to learn that. I don’t recommend it but some people seem to really love the language. Those people are statisticians, not programmers.

  • Noo@jlai.lu
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Because I couldn’t find any dev to help me make the game I wanted to make.

    • thingsiplay@beehaw.org
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      This is actually reasonable. You didn’t know what work is needed to make a game, but your reason to learn a programming language because you couldn’t get help is absolutely not dumb in my opinion.

      • Noo@jlai.lu
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        Actually I did know the amount and kind of work it required, as I have being working on game projects before (I’m sound designer, music composer and game designer).

        It’s not really dumb yes, but a bit sad when you think about it.

        • thingsiplay@beehaw.org
          link
          fedilink
          arrow-up
          0
          ·
          edit-2
          2 months ago

          Ok, it makes it juuuust a little bit dumb, I give you that! :D (just joking). I like that you was determined to do it, even if it meant to go through all of this.

          Once Miyamoto said (I have a book with interviews of Game Designers) that a Game Designer should understand programmers, in order to be efficient. Or something with those lines. So don’t think it is sad, make it a positive power you would have missed, if that would not happen. Sorry if I’m a bit too optimistic in my views.

          • Noo@jlai.lu
            link
            fedilink
            arrow-up
            0
            ·
            2 months ago

            You’re right, but it wasn’t how I took it a the time.

            The underlying message I receive was that if you don’t pay enough or you don’t make people dream Steve jobs style, you won’t get anyone to work with you.

            I’m lucky, I do have the drive and I can take the time to learn news things and I get to meet some wonderful people along the way. But that’s just me being lucky.

            Sorry for venting, but I do think curiosity should be on both side.

  • Gjolin@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    I wanted to be a game programmer. 15 years on, I haven’t touched a video game in over a decade, and I find them pretty boring.

    • Oka@sopuli.xyz
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      I became a Game Programmer. Job market sucks right now, so I’m cleaning toilets and taking out trash at a grocery store.

      But hey, on my days off I sometimes have time to work on games.

      • breadsmasher@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        2 months ago

        I wanted to get into creating video games.

        I ended up in software engineering for financial companies. It killed my hobby love of programming but the salary is worth it. Exceptionally lucrative, and I have never struggled for work, with great pay, bonus, benefits, equity

    • Ephera@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      No idea, if this was the case for you, but learning how the magic works can definitely make it less magical…

  • Admiral Patrick@dubvee.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    Lemmy UI constantly pissed me off, Photon didn’t quite do what I wanted, so I forked it and learned Svelte. lol

  • BehindTheBarrier@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    2 months ago

    It’s hyperbole, but I learned my first language because I wanted to be a god.

    I saw these magic windows that popped up, that had buttons, and I was jealous of these godly creators holding the power to make them do as they wanted. So, I learned it myself. I peeked at another program I was using, it was using python and PyQt so that’s what I set out to become my own god of the desktop.

    My first program was a GUI wrapper around the YouTube-dl CLI, and I still use it frequently.

    • AwkwardLookMonkeyPuppet@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      Hey, that’s similar to me! Except I’d call it a wizard rather than a god. I wanted to learn the cryptic combinations of words that willed things into existence in the digital world. 23 years later I’m a senior professional, doing the same thing, and still learning too.

  • thingsiplay@beehaw.org
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Somewhere before 2010, when I was still on Windows on my laptop and using AutoHotkey, I learned a dialect of Basic. To write an application starter on my USB stick, when going to internet cafes. The starters job was just to run my AutoHotkey script with AutoHotkey interpreter. I never used the Basic language again. I actually forgot which dialect, maybe FreeBasic.

  • Kojichan@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Might not be dumb, but I learned programming to create things and learn how things worked. Started with entering in hundreds of lines of BASIC printed in magazines, including debugging font typos.

    Then learned MUF, or Multi-User Forth, a stack-based text language for creating text based dungeons, and managed to stop some malicious users spying and people’s privacy in the server.

    Every so often, I pick up a new language to test it to see if it does cool stuff or help me further learn more about how things function.

  • Electric@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Objects weren’t properly saving in a game, so the developer showed me what code I could copy paste to enable objects to save. Much like Thanos, “fine, I’ll do it myself”.