3 ms·
FYI this is probably not a good habit if you're trying to teach yourself, rather than just trying to get some task done. Reading documentation and searching Sta
by burkaman 4y ago
FYI this is probably not a good habit if you're trying to teach yourself, rather than just trying to get some task done. Reading documentation and searching StackOverflow are genuinely useful skills that take practice to get good at. Asking chatGPT is equivalent to just asking a friend for the answer, which is fine if you want to be efficient but not ideal for learning.
Obviously this doesn't matter if we think chatGPT is so good that you'll never need to read documentation yourself, but I think this is one of those situations where you need to be an expert before you're allowed to break the rules. Without experience, you won't know if chatGPT is really giving you everything you'd get from reading the docs yourself, or only a small and potentially inaccurate slice.
- pcthrowaway 4y agoChatGPT generally goes into a lot of details about its decisions, and provides detailed explanations. You still have to fact-check it, or verify by running the code, because it will make mistakes, but if that happens you can say "Hey, this isn't quite right because ..., how do I actually do this" and it will usually figure it out. As a software dev of 10 years, I've done the "googling and reading documentation" a fair bit, which is kind of like stumbling around in the dark and feeling around to get a sense of where things are. For some well-defined, well-documented things, using ChatGPT to do the same is like having having an overconfident junior-intermediate dev to pair with who's familiar in a stack that I'm not. I still have to guide it a fair bit, and adjust my expectations to account for that overconfidence. But it can absolutely guide me as well, and teach me new things.
- burkaman 4y agoYeah that makes sense, I'm just saying that if you didn't have 10 years of experience, you might not know how to guide it and might not notice when it doesn't seem quite right, and end up learning a lot less than you could. It's a little bit like "you won't always have a calculator in your pocket". We do always have a calculator these days, but it's still useful to know how to do arithmetic so you can do things in your head, and notice if an answer doesn't make sense because you made a typo or something. Maybe in the future we'll all have chatGPT running locally on our phones or brain interfaces or whatever and be able to quickly train it on new datasets, but even then it will still be useful to know how to do things yourself.
- discreteevent 4y agoI think that sometimes just copying and pasting from stack overflow is not much better than using chatGPT. But I agree with you about reading documentation. When you read the docs you build up a model of the system in your head. You can then play with this model in your head and come up with good solutions. This seems to be exactly what chatGPT can't do. Also I'm senior and sometimes don't get to program for long periods of time. What I find is that when I don't program I get worse and solving higher level problems. The important part of programming is not about knowing APIs etc. It is modeling a problem and its solution in a domain that forces you to be precise. For that reason I would say to junior developers: Keep programming. It will make you a better problem solver and it will make you better at the things that chatGPT can't do.
- burkaman 4y agoEven for Stack Overflow, knowing what to copy is a learned skill. Stuff like "this accepted answer with 10k upvotes is 8 years old, I should scroll down and see if there's a newer answer with the right way to do it in $latest version". Maybe chatGPT can handle that, I don't know, I just think that finding the right answer within the right forum post is an important learned skill and I wouldn't want new people to miss out on it. It carries over to many other areas of your life.
- spaceman_2020 4y agoAs an aside, programming is the lowest "willpower depletion" activity I've ever done, apart from producing (i.e. in a software DAW) music. I can program for hours without getting particularly tired or feeling like I need a break. Have to say I'm a little jealous of people who get to do this for a living.
- spaceman_2020 4y agoI understand that and I'm fine with it, especially since I'm using it for a hobby project, and mostly looking up non-core libraries that I'll likely not use often again (such as framer motion). My point is that it's making newbies like me way more productive than we have any right to be.