You knew that this video was coming sooner or later,
so let's talk about ChatGPT. Are you scared that AI will take your job or do you think that AI
will boost software developers productivity or you just simply have been living under a
for the past few months and want to know what people are saying about ChatGPT?
Either way, there's something in the air and it smells exciting. Let's find out if
AI will replace programmers. So what I did is, I actually created an app for.,
And let me just build and run this. What I have, collected here is an array basically of
YouTube comments from developers, because yeah, there are a lot of these videos on the
web and, I have just cherry picked, my favorite ones right over here. I'm also going
to comment on this, so let's just see. Of course all of them are anonymized. These names
are just funny names, and also the posting date and the likes on them, and also
the number of replies are just random right over there. What is in fact, real is the actual comment.
If you have been thinking of learning SwiftUI and Core Data, then I'm happy to announce
that now you can master both of them in six weeks. All you have to do is join SwiftUI Camp.
The live group coaching starts next week, and I got a discount link of 50% off down
in the description. Join now, there are only four seats left. So let's just start off.
I currently use it as a tool for explaining more so than producing code. It's really
good at concisely explaining software patterns with simple working examples etc.
It explains docker to me and help me dockerize my application
in minutes. I think it would take longer to find the information myself.
Yes! This is something that I use quite a lot. So let's say,
I want to find something. I have to Google it. I have to kind of skim through all
of the search results. Maybe if I go on Stack Overflow and one of the links is a
Stack Overflow link, I have to go through all of the answers and then just kind of do it myself.
I have to be the judge of my own answer to my own question. So let's just go for
the second one. I find GPT is a better tutor and assistant than a
full replacement. It's really sped up my workflow. Yes. Again,
as you can see, speed is crucial right over here. It's a better tutor and assistant than,
full replacement. Yes. And no, because you want to make sure that
you are asking right questions so you get the answer that you are looking for.
So in that matter, real fashion bone tutor would kind of understand. What you mean,
or it would just come up with follow up questions or it will know your history.
You know, the context of your question and we are going to talk about that also. So, yeah,
this is, a goodexplanation about how it can be used
for tutoring or just learning in general. I frequently ask ChadGPT how to speed up my
code and I already had some major improvements out of that. Also, it's a charm to write docs
based on the function and create unit tests. obviously needs to be double checked. Yes!
I found this to be really, really helpful creating, documentation and also unit tests.
It's a charm to do with. It's really, you know, creating these tests are really,
really tedious and it's obvious. It's, quite hard, so I kind of recommend
doing the docs and, testing with it. Obviously yes,
you need to double check on that code because, you know, sometimes, it just spits out rubbish.
So yes, you can use that. Next up is AI won't replace jobs. People who know how
to take advantage of AI will. Yes. And this is kind of, a rephrase on like,
you have to think a bit, differently than, oh, is my job secure or will I lose my job
to AI? If you adapt then you will still get a job. You know, who take advantage of AI will still have a job.
GTP 4 has doubled the context window of 3.5 and then there are those tokens. They
are actually the doubles of the previous one and there's a beta GPT four with even double
of that tokens of context. That's around far 50 A4 sheets of memory. That's a lot of memory
and you have to be aware of this because if you ask lot of questions and you will,
after a while, you will get out of memory. So it'll just simply forget
things and of course you can have a little bit of trick. But yeah, this is going nuts. We are
going to have a lot of token. Now as a beginner, I think it is okay to use it, but with moderation.
Sure, it's faster than Google, but you still need to go over documentation and
examples by yourself if you want to learn. Agreed.
It is also useful to code review and even if it prompts the solution is always good idea
to ask it, to explain in depth on how things work and also show at least another example.
And by the way, is really great at explaining things even if the
code is self-generated. Soyeah, I totally agree. Hey, I'm at the beginning
of my learning process doing free code camp, thinking about giving the odin project
a shot and also about to finish super simple devs html / css course.
Okay. How does the newfound importance of AI change the learning process for a beginner?
Now, yeah, this is a good thing, free code camp, the odin project super simple that, you know,
they are kind of structured. You get structured instructions on how to learn, where to learn.
If you are a beginner, I would just highly recommend. Following somebody or some project.
Free court camp is a great example and if you want to check out SwiftUI, make sure to check out
the link in the description for a 50% off. And yeah, we are going to learn SwiftUI with
Core Data because these kind of, projects or, you know, SwiftUI Camp, they're organized.
You know, it's like not just spitting out information. So if you're a beginner,
I highly recommend starting off with some organized learning.
Next up I started using with the same intent to see if it will replace me. So far,
I found it really good for documenting code. Yes. And what we were talking about.
I just explained to it the documentation I want,
and then I give it my function and results are shockingly good.
Congratulations. Okay. So in my opinion, GPT won't replace programmers anytime soon.
It will elevate them and increase. Productivity. Everyone from junior
to senior engineers can benefit. And this is my experience of it also,
I think that if you have the right prompts, you can give the right questions,
then it can elevate productivity, that's for sure, it can speed up things for you.
Of course you have to know coding. You have to know programming. You have to know what you
are trying to build out. At the end of the day, it has to be double chacked. I use charge ChatGPT mostly
to help me understand some code example, some code that seems ambiguous.
And also with debugging, I would say it is definitely a useful tool to have for software developers.
Yes if you have a more elaborate code and you don't want to scratch your head,
what's this variable, you can just put it in and let
ChatGPT just simply expand it to you and maybe if you are lucky it
can also debug the code. It can find really easily bugs for you.
I try to avoid using ChatGPT for most of my work just so I don't become too dependent on it.
However, it is very good for code refactoring. Yes. Another good thing
is code refactoring. It can really easily refactor your code. You know,
you have a 200 lines of code in one file. Just give it a refactor. It's really,
really great. And yes, it can get you too dependent on it. After using
ChatGPT for a lot of my schoolwork, I didn't think it will replace programmers.
Hmm, that's a good take on it actually. I noticed in the beginning I asked very
simple questions, but as I learned more and more,
I asked more complicated questions. So if I did not know what I was doing I would
not get a good enough answer out of it. It's never smarter than the question it is asked.
Yes, I love this ending. It's never smarter than the question it
is asked. You have to know how to ask a good question. So you are getting a great answer.
Sometimes you need to just remind the AI of things. It has forgotten, like your middleware
function. It apologizes and fixes the problem. Hopefully this will improve in the future.
Yes, it does forget things because, you know. It has a certain memory. Of course over time
this may be improved and it apologizes and fixes the problem or not.
So you still have to double check on that. Maybe it will just fix it on the second run.
I currently don't think that ChatGPT will replace the role of a software engineer.
I've been using the GPT 4 for solving some arithmatic questions in code. It was having a
hard time compiling. Yes, of course, you know this hard stuff it has to be a human.
So far ChatGPT has not yet replaced me, but it has made me a much better developer. Yes,
most probably you are asking it the right questions.
My company banned usage of AI like ChatGPT. If the developer can't write, the code itself is going
to be fired. Simple as that. Yes, these measures can be applied and if you agree or not, that it
doesn't really matter. It is just company policy. And that's that. However,
I do recommend that you, even if it's not for your company, then you just check it out and,
of course you have to be aware of not, you know adding there like company secrets.
But, you should just definitely check it out. ChatGPT is a serious life changer. Explains
concepts much better than my lecturers. Okay, good for you. Then most probably your lecturers
are not that good. I use ChatGPT to explain concepts to myself. Since I am
studying data analysis on my own, it is very useful when I have doubts about something.
It's like a teacher. Yes, indeed. So if you are a self-taught developer,
you like to do this on your own, this is a life changer. Kind of like again,
a tutor but it's not like you are going to have kind of a roadmap or you know,
you have to have a structured a way of learning. And you know,
if you are, you have doubts about anything that you learn, you just ask it.
One thing I'd recommend is asking ChatGPT to fix its own code. Yes. This is really great.
If you tell the program its errors, it will apologize and approach it
through a different method and sometimes fix the program altogether. Yes. So it's not like,
okay, give me the code and then, oh, it's not working.
Just be patient with it. Extremely useful. It's like having a personal teacher
to answer those small books and teachers gloss over. Yeah, so the,
the small things that the little details, the basics, it knows really, really well.
ChatGPT is so helpful for learning to code or, use new frameworks, libraries, etc.
No more pouring through forums or documentation for hours. Just straightforward, fast,
and mostly correct answers to specific coding questions.,
Yes, so mostly correct answers. That's why you really kind of we need to know what you
are talking about. It's just kind of a more speedy way of writing code.
That's my opinion. I cannot believe they already made prompt engineer a job. Neither do I.
I am halfway through my degree in software engineering. I thought I had finally figured
out what I want to do with my life. Now I'm not even sure there will be anything for me
to do in two years. Don't worry. You know, you just need to at least adapt and don't worry.
That software engineering degree will help you a lot. And it's not about, you know,
just replacing engineers. You have to learn, you have to master your craft.
It's not just about pouring out core code. It's about soft skills. It's about your whole
knowledge your approach, architecture. There's a lot of
things that software developers do besides just typing out code.
So, yeah, don't worry, you will not lose your. At least it will, be a
little bit more competitive. But, you will have access to all of those jobs.
Don't change your plans. The best you can do is keep studying and improving. Just what
I said. In the worst scenario, you will still be able to create your own product or work for
small companies created by people that lost their jobs. Yes, of course.
And yeah, AI will take over most entry level software developer jobs. Good luck
finding a job. Now, this is really harsh. I do believe that junior developers
will have a much harder time. But anyway you gotta start somewhere.
So why not embrace AI even as a junior developer? I'm glad that I'm not the only person
low key panicking about the recent AI advancements. Having studied psychology
and computer science and wanting to get into the field of technology policy
is feeling like a better choice every day. Yes, some people will change careers.
They will just pivot away from software development, and that's fine.,
That's perfectly okay. But in my take on it is that software developers will be kind of the last
ones who will lose their jobs over AI. So of course there are other more human
interactive jobs. But yeah, software developers are, you know, quite safe in my opinion.
I think the tech industry will cut more developers and software employees in general,
but the position themselves will not become obsolete. There will just be less needed. Yes,
and I totally agree. The industry will try to hijack this.
They will fire a lot of developers. Anyway I do think that the,
the market is oversaturated and there are a lot of not so good developers.
So most probably they are going to filter more.
GP 4 is a powerful tool, but using it wisely can be tough. I tried to use ChatGPT
for my project, however, I had difficulty making a function,
including my existing functions. Yes. Even though the function only has 5 lines of code, because
communicating with ChatGPT was so expensive it made more sense for me to write the code myself.
Yes, currently it's, limiting. You want to focus on small ideas, small projects. It's not
really ideal for large scale projects with huge architectures. So, yeah,
make sure that you use the tool for what it's created for. As programmers
we did a lot by sharing our learnings online only to find out AI learned it all.
Yeah, this was really funny. I had to include this. And finally, every seasoned YouTube programmer
is telling us we are screwed. Oh, boy. Well, actually not everybody, I'm not telling this. I even think
that AI will help us be better programmers. Now I have a question for you. Do you think
that this app that I have just shown you, you know, with the sliding feature and the comments.
Once this built by ChatGPT or myself? Leave your comments down below and if we are going
to have a like count of 100, I will finally reveal it as a pinned comment down below.
So yeah, make sure to smash that like button. And if you want to learn more
about Xcode 14.3 new releases, go ahead and check out the amazing video right over here.