r/learnjavascript • • Jan 31 '23

Is it wise to start learning JavaScript in 2023.?

I'm almost 35 and I planned to transition from graphic design to front-end development, but prediction that low-level coding is going to be replaced by AI gives me a lot of anxiety, so I'm in a state of "paralysis by analysis". How smart is it to invest a whole year on learning JavaScript and be job ready for an entry position, when predictions are that AI will do that type of work very soon.

Thanks everyone!

0 Upvotes

33 comments sorted by

12

u/TheoKondak Jan 31 '23

I am not the most experienced developer out there but I don't think that AI will be able to replace any real developer position in the near future.

One good argument (amongst many) is that in order for the AI to do something you need to describe it to it, and that's harder than it sounds.

1

u/milutin_m Feb 01 '23

Thank you for your answer!

What are other good arguments? If you're willing to share it with me, and you have time. Thank you!

2

u/TheoKondak Feb 01 '23

Instead of writing them on my own, I will share a couple of articles that talk about it:

But ChatGPT has flaws—and the same limitations that hamper its use for writing content also render it unreliable for creating code. Because it’s based on data, not human intelligence, its sentences can sound coherent but fail to provide critically-informed responses. It also repurposes offensive content like hate speech. Answers may sound reasonable but can be highly inaccurate. For example, when asked which of two numbers, 1,000 and 1,062, was larger, ChatGPT will confidently respond with a fully reasoned response that 1,000 is larger.

Source: https://devops.com/will-chatgpt-replace-developers/


CHATGPT WILL NOT REPLACE SOFTWARE ENGINEERS

And here’s why.

An experienced engineer would know that building and maintaining software involves strategic planning and coordination. There are so many steps involved in the process such as

  • Requirements Gathering

  • Budgets

  • Architecture

  • UI/UX

  • CI/CD

  • Application Performance

  • Dev Ops

  • Database Operations/Maintenance

  • Debugging

Source: https://levelup.gitconnected.com/chatgpt-will-only-replace-bad-developers-26404d2bb8a1


But chatGPT might speed up certain development processes, which will lead to less volume of work for programmers, which might mean fewer jobs. An article that touches on this:

Conclusion

No, ChatGPT is not going to replace programmers. While it may be able to automate some tasks, there are many things that ChatGPT simply cannot do.

Programmers will still be needed to write code, debug errors, and manage software projects.

source: https://medium.datadriveninvestor.com/is-chatgpt-going-to-replace-programmers-b1c80fcc61e3

Edit: added some horizontal lines to clear things up

6

u/cluckinho Jan 31 '23

Just learn it. If AI replaces web dev (it won't) then you can get a different coding job. The key is learning to code. We are a long way from AI writing every bit of code. By that point everything else will be automated anyway. We will all have to become plumbers and carpenters :)

1

u/milutin_m Feb 01 '23

Thank you for your answer!
Unfortunately, it is very hard for me to conceptualize getting an entry level coding job, so getting a different coding job looks almost impossible.

1

u/cluckinho Feb 01 '23

That’s dumb. Believe in yourself and have some confidence. One step at a time.

4

u/DevJoey Jan 31 '23

ChatGPT or any other AI are just tools that engineers will use and it will make our jobs easier but it's not even good enough to do that yet. The only people who even find it useful today are people working on really small projects or who want to code simple "todo apps".

Software engineering is one of the most complicated endeavors anyone can undertake and it's going to be a while before AI can replace us. Right now AI can barely drive a car unless there are clearly marked lines and no other obstacles. Even the dumbest human can do all that and much more.

That being said, AI is here to stay and will be a tool we will use to augment our day-to-day activities as engineers.

The hype around AI seems to be more from the media, beginners, and people with very little knowledge of what software engineers actually do.

I work for a fortune 50 company and we build sophisticated software and apps for our company comprising millions of lines of code and thousands of modules and files and dependencies. Everyone I know at work played around with ChatGPT for a few days when it was first released. We all found very little use for it as it couldn't do anything that we needed. I haven't even thought about it since then and I am not even aware of any team member that uses it.

Take the plunge and start learning and you won't regret it.

1

u/milutin_m Feb 01 '23

Thank you for your answer!

I'll repeat myself here, I hope that you won't mind:

I understand that it is extremely limited in its abilities for now, but what about new versions that are going to be less limited? So, I invested one year in learning JavaScript and by the end of that year AI can do everything that I can do, so my skills became irrelevant, and I never can keep up.

I understand that there is going to be a need for experts to help feed those AIs instructions and to maintain a large project, but those work positions are very far away from me.

2

u/DevJoey Feb 01 '23

I know you are just a beginner and don't yet comprehend what it takes to build great software that can scale to millions if not billions of users. It takes a lot of other skills besides writing code. In fact, most junior developers get stuck on tasks for days because they can't even figure out what they need to do. How do you even ask an AI chatbot what to code if you can't figure out what it is first?

Big companies and projects often use a lot of custom code and libraries on top of popular languages and frameworks to solve their unique needs. No AI can work in these environments because it hasn't been trained on any of that and won't likely ever be as these systems are proprietary.

Dream weaver was supposed to replace engineers a long time ago, so were advanced IDEs, GitHub copilot, and now chatGPT. Excel, TurboTax, and Quickbooks were also supposed to replace accountants but I have a lot of close friends who are accountants and well paid and the demand is even higher now.

Don't succumb to fear-mongering and stop learning and improving your life. Just take a look at the Chromium source code linked below.

https://github.com/chromium/chromium

I know you probably won't understand what's in the files etc. Just click around and open the folders so you get an idea of what it takes to build good software. There are thousands of moving parts and modules that require great care and coordination from hundreds or thousands of engineers that are required to build software at scale.

2

u/DevJoey Feb 01 '23

Also, most people who ask this question are usually underestimating what it takes to be an engineer and will come in thinking that they can become one in a few weeks or months with minimal effort.

You should remember that software engineering is a very complicated and dynamic field and will require a lifelong commitment to learning. As long as you are working as one there are always new things to learn if you are going to remain relevant.

3

u/[deleted] Jan 31 '23

Who knows what the future will hold? What evidence do you have that this is a guarantee and not just a trendy possibility? If you enjoy coding and learning, could use a more rewarding career, and enjoy letting your creative side come out outside of the graphics I don’t think you have anything to lose by diving in.

1

u/milutin_m Feb 01 '23

Thank you for your answer!

You're right about who knows what the future will hold, but the narrative, in all videos/podcasts that I watched and in all articles that I read, is that everything that we do digitally today (including graphic design and coding) is going to be drastically reduced in a very short period by AI products.

3

u/tacticalpotatopeeler Jan 31 '23

JavaScript isn’t going anywhere for a long while.

AI can’t possibly replace me at my current job, although it could probably make me more efficient doing some things.

1

u/milutin_m Feb 01 '23

Thank you for your answer!

I'm afraid that the fact that it can make you efficient, is going to reduce the need for entry level jobs, because someone like you can do that type of job on your own.

1

u/tacticalpotatopeeler Feb 01 '23

Maybe, but someone still needs to write the correct prompt and evaluate the answer. Nobody (hopefully) is pushing straight AI code into production :)

True, there may be fewer entry spots, but those who know how to both code and use something like ChatGPT will have the advantage.

2

u/theScottyJam Jan 31 '23

You really don't have to worry about AI making JS developers obsolete. A lot of people were surprised at how well the chat gpt ai worked, and started posting all sorts of hype articles around it, but if you actually play with it, you'll find that it's still extremely limited in it's abilities, not to mention that it's inaccurate way more often then what's acceptable. Yes, chat gpt can write tiny snippets of code, but its not capable of actually maintaining a large project - that takes a ton more skill, and a depth of understanding that can't be obtained simply by training it on data from the internet - we would need a general-purpose AI to handle that sort of thing (one that can actually ponder on a problem and do actual problem-solving, as opposed to just spitting out responses responses), and we're still eons away from figuring that one out.

Just think about how long it's been taking to get self driving cars on the road. That was supposed to happen like, what, 15 years ago? It was supposed to replace all of those truck driving jobs? And we're still waiting on it? It's finally getting really close, but we're still waiting. And, here, we're just talking about driving, something that we do, almost second-nature, without too much thought.

And, once the AIs are built, as others have mentioned, we still need experts to help feed those AIs instructions, or to further train them to understand the problem domain you're working in.

There's actually a term for this - it's called the "ai winter" - everyone thought there would be an explosion in AI, and yet, our advancements in AI, while still awesome, have been no where near what people anticipated. Chat gpt is another step forwards after a long history of small steps, and there's still a long future of small steps ahead of it (no reason to suspect that the winter has ended).

2

u/milutin_m Feb 01 '23

Thank you for your answer!

I understand that it is extremely limited in its abilities for now, but what about new versions that are going to be less limited? So, I invested one year in learning JavaScript and by the end of that year AI can do everything that I can do, so my skills became irrelevant, and I never can keep up.

I understand that there is going to be a need for experts to help feed those AIs instructions and to maintain a large project, but those work positions are very far away from me.

1

u/theScottyJam Feb 01 '23

At the rate AI has been progressing, you're going to learn much, much quicker than an ai can. I haven't seen any evidence to suggest that ai is going to pick up the pace.

And remember about the bit that we really need a generalized AI that can problem solve. While we've seen some interesting progress over the years with deep learning AIs, the people who have been working on generalized AIs have been fairly quite, despite having been trying to make progress in this area for decades. A generalized AI is an entirely different ballgame, none of the advancements we've made in these deep learning AIs help us with these generalized ones. So, whatever problem solving skills you pick up in this first year of learning is going to be more than AIs can match for a long time.

1

u/theScottyJam Feb 01 '23

Perhaps, you might want to take your question over to the ai subreddit - the folks there would have a better idea of how fast ai is progressing. Or, maybe try looking around in there, as I'm sure it's been asked before.

2

u/[deleted] Jan 31 '23

Javascript is ubiquitous. It's a gateway language and learning any code is never a bad decision.

1

u/milutin_m Feb 01 '23

Thank you for your answer!

I hope that you're right! But, what about u/Imaginary_Passage431 comment that " Frontend dev and everything related to js will be the first victim of AI because of three main reasons: most of the jobs are js related, js cult made js work for everything and front end is the easiest of all programming jobs."?

2

u/Ronin-s_Spirit Feb 01 '23

Hahahab XD I'm no master of coding but I fell like AI is still not good enough to code specifically the thing you want for that specific website. AI feels more like a framework aka "Ready bits of code but you have to know what they do and how to use them".

1

u/milutin_m Feb 01 '23

Thank you for your answer!

How about this? https://www.youtube.com/watch?v=Mrs6q1eypmw&t=3s

2

u/ExtremeDot58 Feb 01 '23

Learn both. A language and AI like chatGPT; believe visual studio offers ‘copilot’

1

u/milutin_m Feb 01 '23

Thank you for your answer!

That seems very hard. :(

1

u/ExtremeDot58 Feb 01 '23

Do some research on copilot, might be easier

1

u/Imaginary_Passage431 Feb 01 '23

Frontend dev and everything related to js will be the first victim of AI because of three main reasons: most of the jobs are js related, js cult made js work for everything and front end is the easiest of all programming jobs.

2

u/milutin_m Feb 01 '23

Thank you for your answer!

What are your suggestions? What to learn?

1

u/Imaginary_Passage431 Feb 01 '23

Perfectionate on what you are already good at.

1

u/Ok-Entertainer1092 Feb 01 '23

I’m a UX dev, starter out as a graphics designer, learnt html and css, upgraded my skills on jobs. Started learning JS over a year ago on and off, I’m not very good with JS, I know the basics and can build things. My main goal was to get comfortable with JS and understand what it can and can’t do which makes you a better designer.

1

u/milutin_m Feb 01 '23

Thank you for your answer!

I was on the very similar path until now. Aren't you afraid that almost all design related jobs are going to be automated by AI very soon? (like entry level coding jobs)

1

u/xroalx Feb 02 '23

AI is replacing devs for what, 10 years now? And here we are, still.

AI is just another tool that can help you but it's unlikely to replace devs for a long time still.

1

u/Working-Tap2283 May 31 '23

Yes and no. Besides old projects, I wanna say companies will just do typescript out of the box and not javascript, but because typescript is built 'on top' of javacsript then you need javascript.

Besides that, JS is the most popular programming language,