4 ms·
My C compiler has been generating assembly code for me for 30 years. And people were saying the same thing even earlier about how compilers and HLLs made devel
by sanswork 2y ago
My C compiler has been generating assembly code for me for 30 years. And people were saying the same thing even earlier about how compilers and HLLs made developers dumb because they couldn't code in asm.
- danielmarkbruce 2y agoPresumably you don't throw out the c code and just check in the assembly.
- __loam 2y agoC compilers are deterministic. You don't have to inspect the assembly they produce to know that it did the right thing.
- sanswork 2y agoAnd C compilers have bugs too earlier ones a lot more though thankfully we are now several decades into their development.
- elicksaur 2y agoVery whataboutism. Do you understanding why the person is making this argument? Or is everything just postmodern deconstructionism? Everything has some imperfection, so LLMs are just fine... Completely missing the totally valid criticisms people have of the systems.
- lurking_swe 2y agocritical thinking is hard i guess
- Veserv 2y agoI like to call that “unary thinking”. Nothing is “perfect”, therefore everything is “imperfect”, so everything is the “same”. One category for everything, unary.
- sanswork 2y agoI'm not arguing LLMs currently generate great code. My argument is that it doesn't matter to the assertion that they make devs dumb. Tools being bad currently doesn't matter just like compilers being bad in the past doesn't matter.
- sanswork 2y agoYou're trying too hard to argue here. Every 5 years or so of my career something new has come out to make coding easier and every time a stack of people like yourself come out to argue it's making devs dumb or worse. LLMs still generate terrible output a lot of the time but they are improving. Early compilers generated terrible ASM a lot of the time to the point that it was common to use inline assembly in your code or rewrite parts later. Tools can improve, the point is that neither make the dev worse they just add to productivity. Writing code isn't my job it's a task I do to make the systems I design functional.
- llmoron 2y ago[dead]
- elicksaur 2y ago>And people were saying Source? A quote? Or are we just making up historical strawmen to win arguments against?
- sshine 2y agoI've heard from people older than me that this is how people felt about compilers. https://vivekhaldar.com/articles/when-compilers-were-the--ai--that-scared-programmers/ https://vivekhaldar.com/articles/when-compilers-were-the--ai... He provides some sources (7) at the bottom of the article. To pick one, the following has a video interview with one of the founders of Fortran: https://www.ibm.com/history/fortran#:~:text=Fortran%20was%20born%20of%20necessity,to%20half%20their%20time%20debugging https://www.ibm.com/history/fortran#:~:text=Fortran%20was%20... So we're not making up stuff, this perspective was ubiquitous among assembly programmers of the 1950s. In 1958 (as the first article I link to mentions), half of programs were written in Fortran. Which means half of people still thought writing assembly by hand was the way to go. I've personally written assembly by hand for money on an obscure architecture, and I've also written a non-optimizing compiler for a subset of Rust to avoid the assembly. There is great joy in playing stack tetris, but changing code requires a lot of effort. Imagine if there weren't great alternatives, you'd just get good at it.
- YeGoblynQueenne 2y agoI imagine if there weren't compilers (or interpreter) I would never have learned how to code. My generation of programmers was taught with Java and in my university course we did all our homework in the first year using BlueJay, a program that made it _even easier_ to get up and running with a bit of Java code. (just to save some face: I learned Prolog in my second year).
- sshine 2y agoYeah, before high-level languages, programming was mostly done by mathematicians and electrical engineers who felt adventurous. I also had BlueJay on my first semester. But fortunately I had machine architecture, compilers and operating systems later.
- lurking_swe 2y agoexcept we can guarantee (with tests) that the generated instructions from the compiler are bug free 99% of the time. Pretty big difference there.
- sanswork 2y agoThe tool currently being bad doesn't matter to the argument of whether or not they make devs dumb.
- lurking_swe 2y agoif i can one day have a similar level of confidence in LLM output, as i do in a compiler, then i will also call it an abstraction. until then…i wait. :) But i agree, it’s unrelated to devs being dumb.