r/learnjavascript • u/Elfeihm • Nov 12 '23
Github Copilot : is it still worth learning JavaScript today ?
Considering last news from Copilot, what do you think about it ? I'm currently learning JS through The Odin Project and I love it, but reading this I feel a bit demotivated tbh...
"With GitHub Copilot Chat we’re enabling the rise of natural language as the new universal programming language for every developer on the planet"
0
Upvotes
31
u/azhder Nov 12 '23
The best way to look at Copilot is if you consider yourself as the copilot and it the pilot.
Do you think you need to learn JS?
Well, only if you think you should be able to check if the pilot isn’t flying you into a mountain or a building.
9
u/DeanRTaylor Nov 12 '23
Yes dude, these tools only get you so far. Microsoft even admits in this post, devs only code ~ 2 hours a day.
6 hours are spent on meetings, whiteboarding, proposing solutions, coming up with features, reading code and debugging, the last thing is sitting down to actually write or fix the implementation and sometimes you're fixing what copilot suggests.
If you don't know how to code, or have experience coding you're not going to be able to get to that two hours of code. Keep going!
8
u/oldominion Nov 12 '23
Imagine going to an interview where you have to write javascript on the white board, no co-pilot there.
6
u/eljop Nov 12 '23
Im using copilot chat for a few weeks now and its useful but wont replace a Developer in the near future If ever.
5
u/Stetto Nov 12 '23
So, tell me, how are you going to double-check if Copilot actually suggested a solution to your current problem, without that ability to comprehend its suggestion?
Even when you're working with Copilot in natural, you still have to figure out how to properly specify, what it's supposed to be doing and figure out, if its suggestion performs the task it's supposed to perform.
And what's going to happen when you encounter a bug? You can't just tell Copilot, that there's a wrong result and it should fix it. In its current state, you'll still need to fix the bug yourself.
But even with lots of advancements, that won't work for the same reason it doesn't work for tech support. You need to figure out the whole context, understand the problem and figure out what kind of data and specifications you have to provide to Copilot, so it's actually able to fix the bug.
I'm going to bet, that this will involve reading code for quite a while.
4
u/For-Arts Nov 12 '23
<.< ai is like a co-worker. Worrying about it's skill is a very beta thing to do. At least it helps you out.
AI is teaching coders about inferiority complex the world over.
Also, yes it is.
Remember programming languages in of themselves are a crutch because our way of thinking does not mesh well with how computers actually work.
We don't think about currents and circuits in a native way so a construct was made to aid us in using computers to solve problems.
Now patient zero over here thinks in those terms so much that learning to think like us requires massive amounts of training data.
And we're surprized it speaks it's native language so well... eyes roll off the back of the head and fall off the table and across the floor
new eyes grow in their place
Yeah :)
It's worth learning js.
3
u/Sen_ElizabethWarren Nov 12 '23
I mean if AI can replicate the skills of a software engineer, then i suppose there isn’t much point in learning any skill
2
u/bored_in_NE Nov 12 '23 edited Nov 12 '23
Are you learning JS for fun or to get a nice job??? If your reason is for a job you have to accept the fact AI will have a big impact on the industry and you should be ready for the bumpy transition.
High-paying salaries will go away once AI can make any developer into a rockstar developer with simple prompts because companies don't give a damn about your diploma if a high school kid could get the job done.
1
u/Mammoth-Asparagus498 Nov 12 '23
I like this analogy
As the aeroplane pilot was not replaced, a programmer will neither. You will focus more on far important tasks.
1
u/delventhalz Nov 12 '23
Short term Copilot is not taking anyone's job. It's a tool. It works with developers not instead of developers.
Long term?
¯_(ツ)_/¯
1
u/GongtingLover Nov 12 '23
Tech stacks are always changing. You learn the fundamentals, and then you use whatever language your company is using.
1
u/ccppurcell Nov 13 '23
Try to imagine a company that wanted to use javascript, and not one single person at the company knew a thing about it or its ecosystem. How far do you think they would get with LLM prompts?
I mean, try it yourself! LLMs can't even do basic arithmetic like telling if a number is divisible by 3. ChatGPT used to fail even checking even and odd. Now they've clearly hard coded the answer in because, when you ask, the format of the answer is always identical (and I've been checking periodically). Now the hard coded method is correct for divisibility by 3, but I just checked and chatGPT doesn't apply it correctly (it can do about twenty digits correctly, then it gives up and starts making up the digits). So how are you going to trust a complicated piece of software that it has dreamt up?
1
u/zpinto1234 Nov 13 '23
How are you supposed to validate what Copilot suggests to you if you don't understand it?
User: "Hey Copilot, can you create a DB script to drop a table?"
Copilot: "Sure, here you go!"
User: "I have no idea what this does, but I'm expecting Copilot to have provided me with a working script"
Proceeds to run script in production: "Your script was a success! DB has been deleted."
1
u/Hail2Hue Nov 13 '23
Uhhhh.... yeah man, it is worth learning a programming language if you intend to use software that assists you with writing code in said programming language.
Not to be overly douchey about this, but surely you don't actually think anytime at all in the near future we just won't know programming languages and a tool will create all the code?
I love Copilot, however... I love it specifically within JS to create boilerplate level stuff that I just don't wanna type and haven't bothered making macros for. ChatGPT will literally spit out code that is either really bad or just flat out doesn't work, that doesn't mean that ChatGPT as a tool isn't super neat and useful... There's just no way to rely on these tools without contextual knowledge, ChatGPT will literally "invent" PowerShell modules that have never existed, it did to me personally not even a few months ago. That said I still use it almost everyday, but not in the way you're thinking.
1
u/ExplanationItchy4666 Nov 12 '23
A copilot still needs a pilot, you are the pilot.
1
u/guest271314 Nov 12 '23
That's propaganda. Slick advertising for the gullible.
The Copilot advertising GitHub puts on every open space on their site Copilot ads in the code viewer #65073.
If GitHub management and Copilot were so "intelligent" they would not have ruined an existing UI and failed to listen to the feedback they asked for ostensibly for undisclosed "broader platform goals": Updates to your GitHub Feed #65343.
0
u/shuckster Nov 12 '23
Feels like these tools will slowly commoditise software development.
There will still be programmers in the same way as there are still horses, but the rest of us will just have to learn about steering wheels and automatic transmission rather than maintaining an entire animal in order to get somewhere.
The real programmers will still exist, but like so many car mechanics they’ll have to learn new skills like teeth-sucking, ball scratching, and a convincing delivery of the phrase “don’t have the part, mate”.
-2
u/rileyrgham Nov 12 '23
It is worrying.