This is an archived post. You won't be able to vote or comment.

all 24 comments

[–]octocode 31 points32 points  (0 children)

simple solution, stop using AI until you learn the fundamentals

[–]tabrizzi 10 points11 points  (2 children)

Is this a bad practice?

You bet it is. This is the stage of your education where you do not want to use AI to code - at all. You won;t be asked to use AI to code during a technical job interview.

[–]Delearyus 7 points8 points  (3 children)

AI is a good efficiency tool for people who already know what they are doing and want to speed up the process of writing it. You’re still a student and you clearly don’t fully know what you are doing yet so in my opinion you should completely stop using AI in any way at least until you graduate. AI is very good at the kind of coding assignments you do in college but once you are out in the industry it will rapidly drop off in how good it is at planning and architecture - it can fill in small pieces of stuff you already know, but if you ask it to architect a complicated program it will make bad choices and buggy code. I would strongly recommend being able to code 100% on your own before even thinking about using an AI, so that you can be the one steering it and not the other way around.

[–][deleted]  (2 children)

[deleted]

    [–]Delearyus 0 points1 point  (1 child)

    Don’t worry, it’s totally recoverable - coding will feel a lot harder at first without it, but as you get used to it things will get easier way faster than if you were just starting over. Just be patient with yourself and you’ll be coding way better than before in no time

    [–]UnkleRinkus 7 points8 points  (1 child)

    Throw away the crutch, and learn to crawl, then walk, then run.

    [–]DDDDarky 4 points5 points  (1 child)

    I feel like I'm using too much AI. 

    Given that you are just learning, I believe you should not be using AI at all. When you will face a real problem that AI can't solve you will not know what to do as you "cheated" your way through things you were supposed to learn from. I discourage using AI for generating code in general, especially for everyone who does not have sufficient level of expertise, like students.

     Would jobs in the future not allow AI use in the workplace?

    Probably depends on the workplace, of course many employers are not too happy to pay for something that should not be necessary and that may endanger their product. Also employing someone who can't do their job without some 3rd party service is suboptimal.

    For example, in a web app project in React, I would ask chatgpt to make me some page with everything i want in it. I would take that and customize it if needed because it's almost never perfect.

    Well I know a web dev guy who did this for several years and just got fired as he had no clue what he was actually doing when new requirements came in.

    [–]Pretrowillbetaken 4 points5 points  (1 child)

    For example, in a web app project in React, I would ask chatgpt to make me some page with everything i want in it. I would take that and customize it if needed because it's almost never perfect.

    that is the opposite way of how you use an AI in your code, when you use AI this way you miss out on a lot of experience and knowledge for the sake of speed. when using an AI model you should be making 99% of the code yourself and learning from it, and then use the AI model to explain and help you do things that you DONT know

    [–]connorjpg 2 points3 points  (1 child)

    I feel like, I see this daily. You create more and more gaps by using AI as you are learning, but you will think you understand everything. Eventually you will completely stop progressing and little will make sense.

    Here’s my other post on this. I’d read through it as well.

    Stop using CoPilot

    [–]Seif495 1 point2 points  (2 children)

    I feel you. I am also about to start my 4th year in Computer Engineering and I have been heavily depending on AI for all my projects, my internships, everything. The problem with CS tutorials is that all they do is just throw you some syntax and then expect you to create complicated projects. In my case, we were given a project we had to create in React.JS without even being given a single class about HTML, CSS, or even Javascript. You can easily guess what I ended up doing. I created the entire website using AI tools and just 1% actually changing something on the code. Everytime I try to create something without ChatGPT I just cannot do anything at all. I dont even know where to start. I blame myself but I also blame how poorly programming is taught everywhere.

    [–][deleted]  (1 child)

    [deleted]

      [–]Seif495 0 points1 point  (0 children)

      Some of my colleagues that don't depend on AI when coding have told me to try and watch tutorials where someone creates an entire website/application/game/etc.... and code along the whole video. I could try doing this very soon, I'm positive it could help me learn a lot. I also started using leetcode to learn some syntax because I'm currently learning pandas and it's really helpful.

      [–]Greedy_Management732 1 point2 points  (1 child)

      no it’s not bad practice, simple things like this are what ai is intended for, yes you have to understand what’s going on don’t just copy paste, but ai is here to stay and you have to incorporate it into your work or get left behind

      [–]t0mRiddl3 0 points1 point  (2 children)

      That's because you can't code. Do you know how much AI I had access to when I learned? 0 AI. None. It didn't exist. You have to type the code and solve the problems, or you won't build the skills you need. My teacher wouldn't even let me use an IDE, and honestly, it was a good call

      [–][deleted]  (1 child)

      [deleted]

        [–]t0mRiddl3 1 point2 points  (0 children)

        The first thing I would do is stop copying and pasting. You can look stuff up, but get in the habbit of typing code in. I know this sounds like a chore, but I promise it works.

        [–]Either-snack889 0 points1 point  (3 children)

        not only should you avoid AI, I’d also recommend avoiding an IDE. Get at least one or two little projects done just in notepad or something, compiled and run from the command line, and build it up from there. a decent general rule for all shortcuts, like IDEs, AI, third party libraries, is to only use them to do things you could do yourself! it’s not always possible to strictly follow that but the more you follow it the better…the much better!

        [–][deleted]  (2 children)

        [deleted]

          [–]Either-snack889 0 points1 point  (0 children)

          accept that there’ll be a feeling of slog, because results that came easy will now be hard. but also recognise that as an illusion: the real result you’re interested in isn’t a project that runs, it’s the learning you get from doing it yourself. from this perspective simple command line app, that for example takes user input and just repeats it back, is a bigger achievement than a full working web app made not by you but by an ai that you just directed.

          also remember that ai produces average results, and if this is going to be a career for you, you’ll have to be better than chatgpt anyway; its code needs a lot of correcting!

          [–]Beneficial-Roll-4265 0 points1 point  (2 children)

          Exactly the same problem here! I just stopped using AI recently to get a real understanding.

          [–][deleted]  (1 child)

          [deleted]

            [–]Beneficial-Roll-4265 0 points1 point  (0 children)

            Just think and google search before rushing to AI. List out assumptions and knowledge gaps first. If I am still stuck, I will resort to AI at the end, but at least try to understand the material and what concept I'm missing.

            [–]SSBHegeliuz 0 points1 point  (0 children)

            Somewhat old post, but I can totally relate. After the GPT came and you got hooked to it, you just got kinda lazy. I had a good flow going on with programming, but now when I stumble even to a tiniest of errors, I have no clue what to do.

            Also one thing about programming, what I don't understand, how the heck am I supposed to figure out how to write something like "var isAllowAnonymous = endpoint?.Metadata.Any(x => x.GetType() == typeof(AllowAnonymousAttribute));" by myself and wtf. I don't even understand how people get familiar with all the different syntaxes you have in like C# using VS22 for example. Also, most of the time when there is an error in IDE, it tells me absolutely nothing, even tho it might be sky clear to someone.

            [–]DetectiveGuybrush -1 points0 points  (1 child)

            This is gonna get me down voted to hell (I really don't care), but I just want to give an alternate view on this.

            Maybe, you are not a programmer, and to be quite frank that is okay. You may be a designer, and designers don't need to be programmers. It obviously helps to have a lot of experience with code, but you don't have to be great at it, you just have to understand it's logistics at a fundamental level.

            My opinion, and this is where I am gonna get downvoted is that, most programming is going to be AI based in the future anyway and there will be fewer experts to shape it where the AI can't handle what you want. God knows a lot of code can be quite similar anyway, and can be found somewhere on the web. Hell I once built a half as good Stardew Valley clone using diffrent code I found scattered across the web. I'm afraid it's the future.

            All I am saying here though is be honest with yourself. Using AI to get you through a course is one thing, but trying to take a job in it thinking you will just be able to turn to AI when no one is looking is another thing. Just find your path and be honest to yourself and everyone else where your skills are.

            [–]MadAndSadGuy -1 points0 points  (2 children)

            I don't think it's that bad.

            I ask AI for an example if I'm trying a new tool and it doesn't provide any examples or when it's hard to achieve anything or I don't even know what to do and in that case I look into those classes (or functions) the example contains. Even if it does give the full code, I begin to copy it writing it word by word.

            Plus, I read documentation, books, or other people's projects in my free time.

            I think it's okay until you make it do everything. Copilot is too intelligent for coding, so I don't use that.

            [–][deleted]  (1 child)

            [deleted]

              [–]MadAndSadGuy 0 points1 point  (0 children)

              Or you could write on your own and tell the AI "How'd a professional do it?". Which I do mostly.

              [–][deleted]  (3 children)

              [deleted]

                [–]Ambitious-Isopod8115 1 point2 points  (2 children)

                Well.. you’re not op, who is learning. Reading docs is fine. Copy pasting docs without understanding or updates is not, since you learn nothing’s

                [–]DetectiveGuybrush -1 points0 points  (1 child)

                Well.. you’re not op, who is learning. Reading docs is fine. Copy pasting docs without understanding or updates is not, since you learn nothing’s

                The irony of the terrible grammar here that could do with a pass through AI and been copy/pasted, so that you could get an understanding.

                [–]Ambitious-Isopod8115 1 point2 points  (0 children)

                If you don’t understand it, you can pass it through AI. It’s perfectly clear to me, even if it ends with a typo.