• SkunkWorkz@lemmy.world
    link
    fedilink
    arrow-up
    22
    ·
    2 hours ago

    Yeah fake. No way you can get 90%+ using chatGPT without understanding code. LLMs barf out so much nonsense when it comes to code. You have to correct it frequently to make it spit out working code.

      • Eheran@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        24 minutes ago

        You mean o3 mini? Wasn’t it on the level of o1, just much faster and cheaper? I noticed no increase in code quality, perhaps even a decrease. For example it does not remember things far more often, like variables that have a different name. It also easily ignores a bunch of my very specific and enumerated requests.

        • xor@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          2
          ·
          20 minutes ago

          03 something… i think the bigger version….
          but, i saw a video where it wrote a working game of snake, and then wrote an ai training algorithm to make an ai that could play snake… all of the code ran on the first try….
          could be a lie though, i dunno….

  • spicy pancake@lemmy.zip
    link
    fedilink
    English
    arrow-up
    14
    ·
    edit-2
    2 hours ago

    isn’t it kinda dumb to have coding exams that aren’t open book? if you don’t understand the material, on a well-designed test you’ll run out of time even with access to the entire internet

    when in the hell would you ever be coding IRL without access to language documentation and the internet? isn’t the point of a class to prepare you for actual coding you’ll be doing in the future?

    disclaimer did not major in CS. but did have a lot of open book tests—failed when I should have failed because I didn’t study enough, and passed when I should have passed because the familiarity with the material is what allows you to find your references fast enough to complete the test

    • piccolo@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      edit-2
      1 hour ago

      I know people that used to work in programming with zero internet connection… this was ~10 years ago… never underestimate the idiocy of companies. P.s. it wasnt even a high security job, the owners were just paranoid boomers.

      With that said, with a decent IDE with autocomplete, you can get by a lot without documentation. Its ussually the niche stuff that you need to look up on how to do it.

    • MeaanBeaan@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      2 hours ago

      I mean, I don’t know how to code but I imagine it’s the same as with other subjects. like not being able to use a calculator during some math tests. The point of the examination is for you to demonstrate you know and understand the concepts. It’s not for you to be tested in the same way you would be in the real world.

  • Xanza@lemm.ee
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    2 hours ago

    pay for school

    do anything to avoid actually learning

    Why tho?

  • SoftestSapphic@lemmy.world
    link
    fedilink
    arrow-up
    36
    ·
    4 hours ago

    This person is LARPing as a CS major on 4chan

    It’s not possible to write functional code without understanding it, even with ChatGPT’s help.

      • nthavoc@lemmy.today
        link
        fedilink
        English
        arrow-up
        5
        ·
        2 hours ago

        Giving me flashbacks to a college instructor that marked my entire functioning code block, written on paper, as wrong because I did not clearly make a ; on one line of about 100 lines. I argued that a compiler would mark that in the real world, but he countered with "It still won’t run without that ; " That made me rethink my career path in CS. Fuck that guy.

    • billwashere@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 hours ago

      You would think eventually some of it would sink in. I mean I use LLMs to write code all the time but it’s very rarely 100% correct, often with syntax errors or logic problems. Having to fix that stuff is an excellent way to at least learn the syntax.

    • HotCoffee@lemm.ee
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      4 hours ago

      U underestimate the power of the darkside, how powerful ctrl+c ctrl+v is young padawan

      • SoftestSapphic@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 hour ago

        If you copy and paste from ChatGPT your code won’t compile.

        You need to know what the peices of code do and how to peice them together to make it work.

        Which is kind of impossible to do without understanding it

        • Eheran@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          20 minutes ago

          Since version 4 it has no problem generating working code. The question is how complex the code can get etc. But currently with o1 (o3 mini perhaps a bit less) a dozen functions with 1000 lines of code are really possible without a flaw.

  • RaoulDook@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    4 hours ago

    Unless they’re being physically watched or had their phone sequestered away, they could just pull it up on a phone browser and type it out into the computer. But if they want to be a programmer they really should learn how to code.

    • billwashere@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 hours ago

      I work in a dept. at a university that does all the proctored exams. None of that technology is allowed in the exam rooms. They have to put their watch, phone, headphones, etc in a locker beforehand. And not only are they being watched individually, the computer is locked down to not allow other applications to open and there are outgoing firewalls in place to block most everything network wise. I’m not saying it’s impossible to cheat, but it’s really really hard.

      Some instructors still do in class exams, which would make it easier, but most opted for the proctored type exams especially during Covid.

    • Mnemnosyne@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      7
      ·
      4 hours ago

      “Every time we use a lever to lift a stone, we’re trading long term strength for short term productivity. We’re optimizing for today’s pyramid at the cost of tomorrow’s ability.”

      • julietOscarEcho@sh.itjust.works
        link
        fedilink
        arrow-up
        7
        ·
        3 hours ago

        Precisely. If you train by lifting stones you can still use the lever later, but you’ll be able to lift even heavier things by using both your new strength AND the leaver’s mechanical advantage.

        By analogy, if you’re using LLMs to do the easy bits in order to spend more time with harder problems fuckin a. But the idea you can just replace actual coding work with copy paste is a shitty one. Again by analogy with rock lifting: now you have noodle arms and can’t lift shit if your lever breaks or doesn’t fit under a particular rock or whatever.

      • Ebber@lemmings.world
        link
        fedilink
        arrow-up
        8
        ·
        4 hours ago

        If you don’t understand how a lever works, then it’s a problem. Should we let any person with an AI design and operate a nuclear power plant?

      • AeonFelis@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 hours ago

        Actually… Yes? People’s health did deteriorate due to over-reliance on technology over the generations. At least, the health of those who have access to that technology.

      • trashgirlfriend@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        3 hours ago

        “If my grandma had wheels she would be a bicycle. We are optimizing today’s grandmas at the sacrifice of tomorrow’s eco friendly transportation.”

    • Daedskin@lemm.ee
      link
      fedilink
      arrow-up
      17
      arrow-down
      1
      ·
      edit-2
      7 hours ago

      I like the sentiment of the article; however this quote really rubs me the wrong way:

      I’m not suggesting we abandon AI tools—that ship has sailed.

      Why would that ship have sailed? No one is forcing you to use an LLM. If, as the article supposes, using an LLM is detrimental, and it’s possible to start having days where you don’t use an LLM, then what’s stopping you from increasing the frequency of those days until you’re not using an LLM at all?

      I personally don’t interact with any LLMs, neither at work or at home, and I don’t have any issue getting work done. Yeah there was a decently long ramp-up period — maybe about 6 months — when I started on ny current project at work where it was more learning than doing; but now I feel like I know the codebase well enough to approach any problem I come up against. I’ve even debugged USB driver stuff, and, while it took a lot of research and reading USB specs, I was able to figure it out without any input from an LLM.

      Maybe it’s just because I’ve never bought into the hype; I just don’t see how people have such a high respect for LLMs. I’m of the opinion that using an LLM has potential only as a truly last resort — and even then will likely not be useful.

      • gamermanh@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        7
        arrow-down
        6
        ·
        6 hours ago

        Why would that ship have sailed?

        Because the tools are here and not going anyway

        then what’s stopping you from increasing the frequency of those days until you’re not using an LLM at all?

        The actually useful shit LLMs can do. Their point is that using only majorly an LLM hurts you, this does not make it an invalid tool in moderation

        You seem to think of an LLM only as something you can ask questions to, this is one of their worst capabilities and far from the only thing they do

        • Daedskin@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          57 minutes ago

          Because the tools are here and not going anyway

          I agree with this on a global scale; I was thinking about on a personal scale. In the context of the entire world, I do think the tools will be around for a long time before they ever fall out of use.

          The actually useful shit LLMs can do.

          I’ll be the first to admit I don’t know many use cases of LLMs. I don’t use them, so I haven’t explored what they can do. As my experience is simply my own, I’m certain there are uses of LLMs that I hadn’t considered. I’m personally of the opinion that I won’t gain anything out of LLMs that I can’t get elsewhere; however, if a tool helps you more than any other method, then that tool could absolutely be useful.

    • Hoimo@ani.social
      link
      fedilink
      English
      arrow-up
      6
      ·
      7 hours ago

      Not even. Every time someone lets AI run wild on a problem, they’re trading all trust I ever had in them for complete garbage that they’re not even personally invested enough in to defend it when I criticize their absolute shit code. Don’t submit it for review if you haven’t reviewed it yourself, Darren.

    • Guttural@jlai.lu
      link
      fedilink
      Français
      arrow-up
      9
      ·
      9 hours ago

      This guy’s solution to becoming crappier over time is “I’ll drink every day, but abstain one day a week”.

      I’m not convinced that “that ship has sailed” as he puts it.

    • Agent641@lemmy.world
      link
      fedilink
      arrow-up
      5
      arrow-down
      2
      ·
      8 hours ago

      Nahhh, I never would have solved that problem myself, I’d have just googled the shit out of it til I found someone else that had solved it themselves

  • Simulation6@sopuli.xyz
    link
    fedilink
    arrow-up
    47
    arrow-down
    1
    ·
    10 hours ago

    I don’t think you can memorize how code works enough to explain it and not learn codding.

    • SaharaMaleikuhm@feddit.org
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      6 hours ago

      You’d think that, but I believe you are underestimating people’s ability to mindlessly memorize stuff without learning it.

      • SoftestSapphic@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        5 hours ago

        It’s what we’re trained to do throughout our education system.

        I have a hard time getting mad about it considering it’s what we told them to do from a very young age.

    • FlexibleToast@lemmy.world
      link
      fedilink
      arrow-up
      21
      ·
      9 hours ago

      It’s super easy to learn how algorithms and what not work without knowing the syntax of a language. I can tell you how a binary search tree works, but I have no clue how to code it in Java because I’ve never used Java.

      • TheSlad@sh.itjust.works
        link
        fedilink
        arrow-up
        14
        ·
        7 hours ago

        And similarly, i could read code in a language I dont know, understand what it does and how it works even if I don’t know the syntax well enough to write it myself

        • FlexibleToast@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          3 hours ago

          Yeah, exactly. At least any fairly modern language. I don’t think I could just pick up assembly and read it without the class I took. Heck, I don’t think I could read it anymore now that it’s been several years since that class.

      • grrgyle@slrpnk.net
        link
        fedilink
        arrow-up
        7
        ·
        8 hours ago

        I mean same, but you can look to the official docs for like what a loop or queue looks like

    • Dr. Moose@lemmy.world
      link
      fedilink
      English
      arrow-up
      12
      ·
      10 hours ago

      I’m a full stack polyglot and tbh I couldn’t program in some languages without reference docs / LLM even though I ship production code in those language all the time. Memorizing all of the function and method names and all of the syntax/design pattern stuff is pretty hard especially when it’s not really needed in contemporary dev.

    • TheSlad@sh.itjust.works
      link
      fedilink
      arrow-up
      14
      arrow-down
      1
      ·
      7 hours ago

      A lot of kids fresh out of highschool are pressured into going to college right away. Its the societal norm for some fucking reason.

      Give these kids a break and let them go when they’re really ready. Personally I sat around for a year and a half before I felt like “fuck, this is boring lets go learn something now”. If i had gone to college straight from highschool I would’ve flunked out and just wasted all that money for nothing.

      • boletus@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        1 hour ago

        Yeah I remember in high school they were pressuring every body to go straight to uni and I personally thought it was kinda predatory.

    • Gutek8134@lemmy.world
      link
      fedilink
      arrow-up
      42
      arrow-down
      2
      ·
      edit-2
      10 hours ago

      My Java classes at uni:

      Here’s a piece of code that does nothing. Make it do nothing, but in compliance with this design pattern.

      When I say it did nothing, I mean it had literally empty function bodies.

      • I Cast Fist@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        5 hours ago

        Mine were actually useful, gotta respect my uni for that. The only bits we didn’t manually program ourselves were the driver and the tomcat server, near the end of the semester we were writing our own Reflections to properly guess the object type from a database query.

      • boletus@sh.itjust.works
        link
        fedilink
        arrow-up
        20
        ·
        edit-2
        1 hour ago

        Yeah that’s object oriented programming and interfaces. It’s shit to teach people without a practical example but it’s a completely passable way to do OOP in industry, you start by writing interfaces to structure your program and fill in the implementation later.

        Now, is it a good practice? Probably not, imo software design is impossible to get right without iteration, but people still use this method… good to understand why it sucks

      • e8d79@discuss.tchncs.de
        link
        fedilink
        arrow-up
        6
        ·
        9 hours ago

        So what? You also learn math with exercises that ‘do nothing’. If it bothers you so much add some print statements to the function bodies.

        • Gutek8134@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          5 hours ago

          I actually did do that. My point was to present a situation where you basically do nothing in higher education, which is not to say you don’t do/learn anything at all.

      • boletus@sh.itjust.works
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        edit-2
        8 hours ago

        Not a single person I’ve worked with in software has gotten a job with just a diploma/degree since like the early 2000s

        Maybe it’s different in some places.

        • FlexibleToast@lemmy.world
          link
          fedilink
          arrow-up
          10
          ·
          9 hours ago

          Many HR departments will automatically kick out an application if it doesn’t have a degree. It’s an easy filter even if it isn’t the most accurate.

          • boletus@sh.itjust.works
            link
            fedilink
            arrow-up
            1
            ·
            9 hours ago

            I meant any form of qualification. Sure it helps, but the way you get the job is by showing you can actually do the work. Like a folio and personal projects or past history.

            • blackbeards_bounty@lemmy.dbzer0.com
              link
              fedilink
              arrow-up
              1
              ·
              8 hours ago

              Art? Most programming? “Hard skills” / technical jobs… GOOD jobs. Sure. But there’s plenty of degrees & jobs out there. Sounds like you landed where you were meant to be, alot of folks go where opportunity and the market takes them

              • boletus@sh.itjust.works
                link
                fedilink
                arrow-up
                1
                ·
                8 hours ago

                Its probably a regional difference. Here in AU, you can be lucky and land a few post grad jobs if you really stood out. Otherwise you’re entirely reliant on having a good folio and most importantly connections.

  • 2ugly2live@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    10 hours ago

    He should be grateful. I hear programming interviews are pretty similar, as in the employer provides the code, and will pretty much watch you work it in some cases. Rather be embarrassed now than interview time. I’m honestly impressed he went the entire time memorizing the code enough to be able to explain it, and picked up nada.

    • frank@sopuli.xyz
      link
      fedilink
      arrow-up
      4
      ·
      7 hours ago

      He probably couldn’t explain it well if he didn’t know how to code at all imo

    • Aggravationstation@feddit.uk
      link
      fedilink
      arrow-up
      7
      ·
      8 hours ago

      I’m honestly impressed he went the entire time memorizing the code enough to be able to explain it, and picked up nada.

      Or he asked the LLM to summarise it and memorised that.

  • GarlicToast@programming.dev
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    10 hours ago

    Been a TA when chatGPT was released. Most students shot their own foot this way before we figured what was happening. Grades went from bell shaped to U shaped. A few students got 85+, the rest failed, it was brutal. Thought I failed my students horribly before I found out it was happening in all classes.

    If you actually stuck in such a situation, solve as many problems as you can. An approach that will work for most people:

    1. Try to solve
    2. Fail
    3. Take a peek, understand your failure. If the peek didn’t include full solution, go back to step 1. Else continue to step 4.
    4. Move to the next question and go back to step 1.

    Make sure to skip questions if they are too easy. Evey 4~ hours take a 20 minutes nap (not longer than 25 minutes). If you actually manage to solve enough problems to pass, go to sleep, 4.5 hours or a longer multiplier of 1.5 hours.

    After the exam go back and solve all homework yourself. DO NOT cram it, spread it or you will retain nothing long term.

    Good luck.

  • kabi@lemm.ee
    link
    fedilink
    arrow-up
    98
    ·
    15 hours ago

    If it’s the first course where they use Java, then one could easily learn it in 21 hours, with time for a full night’s sleep. Unless there’s no code completion and you have to write imports by hand. Then, you’re fucked.

    • 404@lemmy.zip
      link
      fedilink
      English
      arrow-up
      29
      ·
      11 hours ago

      My first programming course (in Java) had a pen and paper exam. Minus points if you missed a bracket. :/

      • DragonOracleIX@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        4 hours ago

        It was the same for the class I took in high school. I remember the teacher saying that its to make sure we actually understand the code we write, since the IDE does some of the work for you.

      • ECB@feddit.org
        link
        fedilink
        arrow-up
        6
        ·
        10 hours ago

        I got -30% for not writing comments for my pen and paper java final.

        Somehow it just felt a bit silly to do, I guess

    • rockerface 🇺🇦@lemm.ee
      link
      fedilink
      English
      arrow-up
      114
      ·
      14 hours ago

      If there’s no code completion, I can tell you even people who’s been doing coding as a job for years aren’t going to write it correctly from memory. Because we’re not being paid to memorize this shit, we’re being paid to solve problems optimally.

      • spamfajitas@lemmy.world
        link
        fedilink
        arrow-up
        13
        ·
        12 hours ago

        My undergrad program had us write Java code by hand for some beginning assignments and exams. The TAs would then type whatever we wrote into Eclipse and see if it ran. They usually graded pretty leniently, though.

        • ByteJunk@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          7 hours ago

          There’s nobody out there writing “commercial” code in notepad. It’s the concepts that matter, not the spelling, so if OP got a solid grasp on those from using GPT, he’ll probably make it just fine

    • kopasz7@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      13 hours ago

      Remember having to use (a modified version of?) quincy for C. Trying to paste anything would put random characters into your file.

      Still beats programming on paper.

  • TootSweet@lemmy.world
    link
    fedilink
    English
    arrow-up
    83
    ·
    15 hours ago

    generate code, memorize how it works, explain it to profs like I know my shit.

    ChatGPT was just his magic feather all along.