Digital Mark

  • 0 Posts
  • 14 Comments
Joined 3 years ago
cake
Cake day: March 20th, 2022

help-circle
  • Digital Mark@lemmy.mltoProgramming@programming.dev...
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    3
    ·
    8 months ago

    I have two.

    Scheme. It’s a fantastic language, you can cleanly switch from functional, procedural, or weird time machines (macros & continuations) solutions to any problem. Most Schemes (esp. Chez, CHICKEN, Gambit, Gerbil) compile to very fast binaries, close enough to C even with dynamic typing and garbage collection. C FFI depends on impl, but usually it’s pretty simple; in CHICKEN you can just write inline C code. SRFI vary from essential libraries to angels-on-pinheads nonsense, but there’s something to pick from.

    Down side is the fractured, infighting community. R6RS was a practical batteries-included spec, which pissed off the teaching-only fans, so they made an inferior R7RS, and now committees are trying to make R7RS-large which is just bad R6RS. But if you pick one, and mostly stick to the spec language, it’s not a problem for the developer.

    BASIC. I know, ridiculous, right? And I mean line-numbered, Atari or TRS-80 BASIC. But there was never a better language for teaching programming, or for banging out a small interactive program. Turn on any 8-bit computer (or start an emulator), it prompts READY, and you can write something small & interesting. Your modern 64-bit giant machine is not READY.









  • If you can only hobble along with tool support, you never understood what you were doing. You don’t have to rewrite everything from scratch, but if you can’t, you lack the skills to use them effectively, and can’t ever improve on them. And like I say, soon AI will replace those consumers.

    Compilers are perfectly able to tell you the line of an error, you can use a debugger without the IDE, I run lldb or the Chez Scheme debugger all the time, but I understand what the tool’s doing.


  • Yes. At least since late '90s, and certainly the last 2 decades.

    I blame the rise of frameworks, libraries, and IDEs. It’s easier for someone who knows nothing to throw some software together and ship it. In the good old days, all software had to be written by someone who knew what they were doing, often in difficult tools. You had to think ahead and write code correctly, because you couldn’t just ship patches every week.

    And as junior devs get replaced by AI, there won’t be any experience for any of them to learn how to do that.




  • I know you won’t believe this, but you don’t need any of these GTOS (giant towers of shit) to write & ship code. “Replace one GTOS with another” is a horizontal move to still using a GTOS.

    You can just install the dev tools you need, write code & libraries yourself, or maybe download one. If you don’t go crazy with the libraries, you can even tell a team “here’s the 2 or 3 things you need” and everyone does it themselves. I know Make is scary, with the mandatory tabs, but you can also just compile with a shell script.

    Deployment is packing it up in a zip and unzipping it on your server.


    • The Pragmatic Programmer, by Andrew Hunt & David Thomas: How to not suck at programming.
    • Algorithms, by Robert Sedgewick: Stick to the early C or Pascal editions, later ones are full of language-specific Java, etc. distractions.
    • Programming Pearls, by Jon Bentley: Short snippets of how to design & optimize.
    • SICP: Just do every exercise, take it seriously, you’ll learn super powers. Watching the lecture videos alongside is helpful, but the book and problem sets are mandatory.
    • BASIC Computer Games, by David H. Ahl: The type-in listings are fairly hard to read & understand to newbies now, I suspect, but it’s still the master class in how to decompose gameplay problems into low-level programming.

    Videos and podcasts won’t help you, they’re pleasant noise but you learn to program by programming, by taking a problem and solving it.