‹ BackHN Continuity

Thread

Learning Programming in an Age of LLMs

263 points · 195 comments · moneroloop2018

  1. Trusteando · · focus · HN ↗
    IMHO, I think that it could be better if the question about how to learn programming in the age of LLMs were asked to someone who is learning now by using LLMs. Someone who learned programming thirty years ago can perhaps give you only one side of the coin, whereas someone learning today from scratch using LLMs could give you good advice on what the real difficulties are and where the main drawbacks lie. Combining both views would give a better idea of the landscape.
    1. sixtyj · · focus · HN ↗
      Difficulty is too many technologies available. So a beginner needs something/someone that teaches principles.

      I have realized that simplier (boring) is better. E.g. simple html5 css combo is better instead of trying to navigate in JS frameworks.

      1. lolakutty · · focus · HN ↗
        >simple html5 css combo

        HTML is not a programming language IMHO. Javascript running in browser is not very interesting either.

        1. jaapz · · focus · HN ↗
          Javascript running in the browser is an amazing tool to learn programming as everything you need is right there in the program that's already installed anyway.

          No True Scotsmanning someone over that (especially someone who wants to learn something new) is a bit weird, IMHO

        2. sixtyj · · focus · HN ↗
          Don’t catch me by word :)

          Would you prefer starting with compiling a program or running a python script? Imho for beginners it is too heavy, even a python that is so hyped recently.

        3. raddan · · focus · HN ↗
          As a programming languages researcher I disagree. HTML is not just a programming language (a declarative one), it literally has the word “language” in the name. The world of programming languages is much larger than general purpose languages.

          Also, whether JavaScript is interesting is a matter of opinion. Given that for a long time it was the only web language, I’d say that makes it interesting. It’s also in my opinion a poorly designed language but that also makes it “interesting” because its behavior is sometimes hard to predict.

          1. Izkata · · focus · HN ↗
            If we're talking about what's in the name, then keep going: it's a language yes, but it's a markup language, not a programming language.
          2. rudolftheone · · focus · HN ↗
            > It’s also in my opinion a poorly designed language but that also makes it “interesting” because its behavior is sometimes hard to predict.

            Following this logic, any broken device is equally interesting as its behavior is sometimes hard to predict, isn't it?

            1. raddan · · focus · HN ↗
              Yes
        4. utopiah · · focus · HN ↗
          > Javascript running in browser is not very interesting either.

          Damn... that's honestly a shocking thing so say, if only for the fact that you can run in JS other languages. But even then, if you could "only" run JS it gives you access to a high level language but also all kind of inputs, from a keyboard and mouse, obviously, all the way to MIDI, hand tracking in WebXR, etc and all kind of outputs, e.g. screen, obviously, but also 6DoF XR, but you also get low level access to actual hardware. Totally anecdotal but I was precisely in my other browser window accessing my XR headset via adb via ... JavaScript in the browser, thanks to WebUSB. You can also run parallel computations via shaders but also WebGPU. The amount of things you can do is really mind blowing. You mind not like the syntax or some decision about the language itself but that somehow it's not interesting to have access to all that and more from any browser window is just surprising to me.

          Last but not least, all that is done with 0 installation. You start a device, open the browser window, open the console and voila, you get a development environment instantly.

          I just find it incredible.

          1. lolakutty · · focus · HN ↗
            To me the Turtle programming language lot more interesting than Javascript in a browser. Sure JS has all the capabilities, but as I child, all I wanted to was to turn pixels on and off on the screen. With only that knowledge, and my imagination, I felt I could build whole worlds on the computer.

            That is what makes something interesting and intriguing. Once I had the taste of that first pixel, and I was hooked.

            But look at JS/Canvas stuff? I still need to look up how to put a single pixel on a canvas. I am not sure it is even possible!

            (Btw, do you know that in those times, graphics libs could read the color back from an onscreen pixel? Now I can do collision detection for my games!)

            But you might say "But that is the wrong way!" and "You won't be able to do much that way", Who cares, I want to have my way, with out having to do a ton of stuff that is seemingly orthogonal to what I am trying to do..

            1. utopiah · · focus · HN ↗
              You can have the best of both Worlds today thanks to <a href="https:&#x2F;&#x2F;snap.berkeley.edu" rel="nofollow">https:&#x2F;&#x2F;snap.berkeley.edu namely block based visual programming, no syntax error, no installation (even works offline once loaded) and you can make the turtle move... but you don&#x27;t have to stop there, you can make your own blocks... and those blocks can even be JavaScript so that when you inexorably get bored of what was once an exciting turtle, you can leverage all that but control it with a GamePad or whatever weird things I listed before.

              To be clear though, I am NOT advocating for JavaScript, I&#x27;m just arguing its potential, today, is nuts.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.