Major issue with the copilot is that it was caught stealing copyrighted code, even in a private repositories. The fact that something goes through AI doesn't mean it's not a copyright breach. The thing literally copy-pasted entire blocks of code, down to a numbers in arrays or various spelling and indentation errors. I wonder at which point this will come out to be either a security risk or something leading to a lengthy legal battle against Github. But... it's still impressive how Github managed to monetize its huge codebase. As they say... if you don't pay for the product - you are the product. If you pay for the product - you STILL might be the product.
@@Hana_UwU People don't have the money to start a court case against a giant of this size, and even if such case would be run - there's no telling who will win. They can always hide behind "this is what AI learned to be the best answer to this question" or other such smoke screens.
Code copyright will soon go the way of the Dodo. It is fast approaching the idea of Microsoft trying to copyright and patent 0 and 1. The widespread use of frameworks has allowed programmers and companies to dodge copyright issues by providing new novel ways of doing the same things other copyrighted works accomplish in the same way but with different looking code.
No doubt there will be security issues that arise. People will be putting together apps who have no idea what they are doing, but the product will appear to work fine. But for people who do know what they are doing, it could be a game changer.
It saves me SO MUCH TIME. And if I'm confused about something, I just explain what I want in a comment and it's done. I'll be paying for it. Edit: Since I was a student in Jan 2021, my student pack allows me to use CoPilot for free
When I was a boy we had to search Stack Overflow to find how to do things and learn from code snippets. Having your editor suggest code is a great learning tool. The trick is to read the code and learn when its useful or just plain wrong. It also saves a lot of typing . When learning this saves my time, I learn by reading code and not having to Google saves a lot of time.
No, pilot are there for safety reasons while on the other hand you don’t hundreds of coders to see if what an A.i is doing are correct or not. Maybe it also auto check and auto correct itself in the near future too who knows.
The thing that saddens me is that I don't get paid as much as people in developed countries but I have to pay the same price for the product. It's not like I cannot afford it but price adjustment would have been nice.
it saddens me how common it is now to see people acting like its acceptable to accuse others for wrong doing when they are clearing dwelling in the mentality of victimhood which is both weak and entitled at the same time. get a grip homie
That is annoying. But I think the reason they don't price adjust is because people in wealthier countries abuse it using VPNs to buy cheaper or key resell.
It's using OpenAI which charges for characters submitted and returned(not entirely the truth but close enouh). As an estimated example 10 comments of 10 words that are largely monosylobic words that return 10 line of code each would cost github 0.02usd. They may have a different price structure with OpenAI but if you used straight OpenAI (which you can do) that is what you would pay.
In my opinion ,the learners/the new developers should not pay for this until they have enough knowledge of the different concepts aka the strong grip in the language .I guess after exploring that its efficient to pay for that to save time. Its just my understanding. Anyone can make their choice at the end ☺️. Love your contents👍
exactly, how can you receive help if you don't know what you need :) Otherwise, I believe it's a must, I defend that anything that makes you a bit more productive is definitely worth looking into. At the end you can end up with 100% more productivity
Copilot actually has helped me get a better grasp on certain things. Seeing code that works within the context of the program you’re building can be so helpful. It’s like having a guide built into the text editor.
@@rightclick7266 Because it's never the first answer and usually a combination to get things working. Co pilot gives you one liners and reduced code which may be hard to understand for a beginner. So when co pilot messes up, then . . .
The thing is: My corporate would be open to pay me and my team license, but as of today, we have to buy separately X licences, you cannot (yet) buy just 10 licences and manage them, and with the purchase request, purchase order, ... process, this is kind of a nightmare for me to manage ^^
I agree with all your points in this video, James. Copilot is a great time saver. I also wouldn’t recommend it to beginners. However, I would have added one more pro to the list. It’s fun! I’m blown away with how good it is. I catch myself pissing with it for while just for my own amusement. $10 is a hell of a value for this thing imo.
The question is.. this kind of the auto-complete tool is too tempting for code beginner not to use it.. if one can learn the code examples but type a few letters why typing them all? And they can learn related topics broadly because less time spent on some specific long code examples.
Not necessary to have co-pilot , but can be helpful as an addition in understanding algorithms or explaining code.If you just rely on copilot generated code, you lose whats going on since its not your code. I prefer to have great control and understand, rather than rely its going to work. Also you want to learn how to program, right? Its useful to use your brains and once you learn, then can use as a suggestion to improve.
I love to do it myself. The kind of satisfaction that you get after thinking out a logic, typing the code and then tweaking and turning different parts of the code to make it cleaner and more efficient is a priceless experience that I just cannot part with. Sorry Microsoft. I don't need Copilot. I will fly it solo. I will do it manually.
I think there's definitely some edge cases that copilot needs to work on. One edge case is not giving correct suggestions for code for packages that is no longer supported nor used in the repository for example nexus-plugin-prisma and nexus-prisma. nexus-plugin-prisma uses t.crud but nexus-prisma doesn't. I'm sure there are many other packages with a similar case. I would not accept code from copilot as we have to understand what the code actually does and it makes sense that junior devs shouldn't use it even if it helps the company with quality code. Overall I think its a amazing tool and over time will only get better with good code quality and scrubbing.
I have used a sample of Open AI's codex which is connected through API I believe (new dumb programmer), and its a natural language text to code generator. Im pretty sure it does it in reverse too where you can cut and paste code and it will tell you line by line what it is doing in English. As a new programmer that gets confused easily, I can't wait until this is more mainstream and affordable.
Thanks. I came to a decision on if I should buy it or not after watching this video. I already pay for an AI tool and since this is basically an automated copy and paste from online sources then I don't really think I need to pay for two AI tools.
As a Jr. dev, I'd recommend against it, mostly for the reason of it can hinder your learning process. I turned mine off because I caught myself just hitting tab to auto complete longer lines of code and not fully understanding what was actually going on. On the flip side, for very mundane, repetitive code (array manipulation, switch, if/else, etc), I love it to just catch onto what I need and print it faster than I can do it.
Tbh what i heard is that is is not that good and you can write it better yourself if you are familiar with the language, tho if something is not crystal clear i am sure copilot can push you in a good direction. I would use it if it was included in pro and mostly use it for languages i do touch like every 2 years like C# so that i dont have to google too much.
Hello James how is going? I am a huge fan of your channel , I surely going to pay for it, I only tested GC using javascript and typescript and I saved a lot of time coding, i think it was improved since it was created until now, like you said, it really blew my mind last month, i would say i makes a lot of sense developers pay for the subscription because it worth it (almost for me) I only hope github do not increase the price of plans at the future for this awesome product. Greetings
I really won't pay for it, I've used it in the preview, and I've to turn it off most of the time, because it was wasting my time clicking esc esc esc.... to not see its nonsense suggestions. I only turn it on when I'm doing repetitive code or need some known snippets like sorting array in some direction, but when it comes to real business logic no way, it's a real time waster and sometimes makes me go crazy for the sh*t it suggests. I use a paid IDE for my work and it's waaaaay better and cheaper than this thing. maybe in the future it becomes better then may consider it, but currently no no no.
No, people signed up because it was free not that it’s cool. No, it cannot help you with things you don’t already know. Most of the stuff you get is something you already know
I definitely saw it do things for me that I would have had to look up. Not that it was completely new to me but definitely kept me from having to go to stack overflow lol
I used it throughout the whole beta phase when it was free and it was a great experience. However, when I noticed it was gone I went to the copilot checkout page and decided I didn’t really need it. It’s a thing that’s nice to have but kinda useless at the same time. Yah it saves you a little time but whatever. Basically just giving your money away This is just my opinion.
idk, if it could save you only 1 min a day. thats 30 mins(1/2 hr) a month. id say if you make $50/1 hour. thats still worth it for $10/mo (its a breakeven at $20/hr). So, I think math wise, it makes sense for me. But do you need it to solve problem? no. But would it helps save you sometimes to increase your productivity, kinda. and Productivity = Money so as long as its positive, its good enough for me. But I would argue that it saves more than 30 mins/mo
I just made 2 apps, one in python (graphs with github api data) and a shell script that does various things... and I wrote it JUST WITH COMMENTS! !!! ! 11! one one eleven!!
Copilot's biggest issue is that they trained on licensed code, which means its generations (while helpful) may get you in a lawsuit! It also costs $10/mo, so they're charging you so that you could get charged in court. There are alternatives out there like Codeium (which I use daily) - which doesn't train on licensed code and is free for everyone. I'm always wary of free products, but they have a business model that charges for enterprises, so seems like a Notion-like model (free for users, paid for businesses).
short answer: 1. if you are poor then yes 2. if you are struggly hard with money then the answer is yes 3. if you are a good and experienced programmer than the naswer for that is yes
@Ben Abbott I think the point is that they are charging us for something that was given to them for free by loads of awesome devs. I’m not against it because we choose to use their platform, but I can see the point.
@@mfc1190 they are charging for the effort they put into training those AI on the code using their high end servers.. and since there don't seem a way to push advertisment in such kind of product ,,, you got to pay for their service.... i understand that for some part of the world , its costly ..they should come up with different prices depending on the PPP of a country
@@smtkumar007 I agree that it should be a paid feature, it's expensive for them to do. I'm just saying I could also see why someone might disagree, because they are using free data. I disagree with this notion, as (unlike other companies), they don't actually force you to use the feature and pay.
@@1000ylovers In terms of code, it writes better code, however copilot understands better and writes faster. After all, I don't want an AI that writes "better code", I want an AI that writes a solution.
HELP function myFunc () { console.log('hello'); } // myFunc(); //don't give undefined // console.log(myFunc()); //gives undefined Question: why console.log gives undefined while without console it is not giving undefined?
@@paraschauhan9978 man, but myFunc() does give you undefined, just copy that function and call it in browser console to check. console.log(), also returns undefined, so basically you get two undefined returned in browser console after console.log(myFunc()); You checking outputs in Vscode console using Node? As I understand it might differ when outputing in browser console and in other environments.
@@serhiimaliutin2547 okay , I get it it gives undefines but in vscode it was not showing undefined when calling like function(). also, when i run code in mozilla console both were giving undefined but console.log gives 2 undefines which later i found that console.log is also an another function I new newbie in javascript by the way THANKYOU
Major issue with the copilot is that it was caught stealing copyrighted code, even in a private repositories. The fact that something goes through AI doesn't mean it's not a copyright breach. The thing literally copy-pasted entire blocks of code, down to a numbers in arrays or various spelling and indentation errors.
I wonder at which point this will come out to be either a security risk or something leading to a lengthy legal battle against Github.
But... it's still impressive how Github managed to monetize its huge codebase. As they say... if you don't pay for the product - you are the product. If you pay for the product - you STILL might be the product.
If it was found then why has no one indicted microsoft for that and they stll can just do what they want?
@@Hana_UwU People don't have the money to start a court case against a giant of this size, and even if such case would be run - there's no telling who will win. They can always hide behind "this is what AI learned to be the best answer to this question" or other such smoke screens.
Code copyright will soon go the way of the Dodo. It is fast approaching the idea of Microsoft trying to copyright and patent 0 and 1. The widespread use of frameworks has allowed programmers and companies to dodge copyright issues by providing new novel ways of doing the same things other copyrighted works accomplish in the same way but with different looking code.
No doubt there will be security issues that arise. People will be putting together apps who have no idea what they are doing, but the product will appear to work fine.
But for people who do know what they are doing, it could be a game changer.
Copyright will not survive the next decade
It saves me SO MUCH TIME. And if I'm confused about something, I just explain what I want in a comment and it's done. I'll be paying for it.
Edit: Since I was a student in Jan 2021, my student pack allows me to use CoPilot for free
I definitely would if I weren’t recording content all the time. It makes recording tutorials very difficult lol
@@JamesQQuick I gave my buddy a quick lesson last week and same thing was happening to me haha
@@null_spacex haha yeah I really wish I could use it, but it's too much of a hassle to turn on and off lol
When I was a boy we had to search Stack Overflow to find how to do things and learn from code snippets. Having your editor suggest code is a great learning tool. The trick is to read the code and learn when its useful or just plain wrong. It also saves a lot of typing . When learning this saves my time, I learn by reading code and not having to Google saves a lot of time.
it's like an autopilot for aviation. It's doing the boring work while pilots still have full control
No, pilot are there for safety reasons while on the other hand you don’t hundreds of coders to see if what an A.i is doing are correct or not. Maybe it also auto check and auto correct itself in the near future too who knows.
The thing that saddens me is that I don't get paid as much as people in developed countries but I have to pay the same price for the product. It's not like I cannot afford it but price adjustment would have been nice.
I get you, they should price it based on the country origin
it saddens me how common it is now to see people acting like its acceptable to accuse others for wrong doing when they are clearing dwelling in the mentality of victimhood which is both weak and entitled at the same time. get a grip homie
That is annoying. But I think the reason they don't price adjust is because people in wealthier countries abuse it using VPNs to buy cheaper or key resell.
It's using OpenAI which charges for characters submitted and returned(not entirely the truth but close enouh). As an estimated example 10 comments of 10 words that are largely monosylobic words that return 10 line of code each would cost github 0.02usd. They may have a different price structure with OpenAI but if you used straight OpenAI (which you can do) that is what you would pay.
this is just the tip of the iceberg regarding how AI is going to exacerbate wealth inequality....
Your enthusiasm for the subject is contagious.
Thanks for taking the time to create this valuable content.
I appreciate the step-by-step instructions you provided.
In my opinion ,the learners/the new developers should not pay for this until they have enough knowledge of the different concepts aka the strong grip in the language .I guess after exploring that its efficient to pay for that to save time. Its just my understanding.
Anyone can make their choice at the end ☺️.
Love your contents👍
exactly, how can you receive help if you don't know what you need :)
Otherwise, I believe it's a must, I defend that anything that makes you a bit more productive is definitely worth looking into. At the end you can end up with 100% more productivity
Copilot actually has helped me get a better grasp on certain things. Seeing code that works within the context of the program you’re building can be so helpful. It’s like having a guide built into the text editor.
How is it worse than copying code off of StackOverflow?
@@rightclick7266 Because it's never the first answer and usually a combination to get things working. Co pilot gives you one liners and reduced code which may be hard to understand for a beginner. So when co pilot messes up, then . . .
Your explanations were clear and easy to follow.
Being a student, I am glad I am having it for free. Really helpful. Don’t copy without understanding, copy to save time on coding known stuff
The examples you demonstrated were practical and applicable.
The thing is: My corporate would be open to pay me and my team license, but as of today, we have to buy separately X licences, you cannot (yet) buy just 10 licences and manage them, and with the purchase request, purchase order, ... process, this is kind of a nightmare for me to manage ^^
Thank you for a very detailed answer
Hi! What's the name of your VSCode Theme? Thanks! And great video!
As you said, great if it writes code you understand, not if you don't understand it.
Honestly Copilot looks very very interesting, possibly awesome. Wondering if Copilot can injest our custom ESLint rules
If your ESLint rules are in the same workspace then yes it does follow them.
What are popular code maintainers? Are there any kind of definition?😅
Hi James, great video about Copilot. Do you plan on doing a tutorial on how to make our own custom VSCode Themes?
Thanks for sharing ; is there a list of frameworks it supports ?
I can't wait to try out these techniques in my own projects.
im a college student and i have it for free and i love it so much
I never thought learning GitHub Copilot could be this enjoyable.
Did you try using tabnine pro version?
I agree with all your points in this video, James. Copilot is a great time saver. I also wouldn’t recommend it to beginners. However, I would have added one more pro to the list. It’s fun! I’m blown away with how good it is. I catch myself pissing with it for while just for my own amusement. $10 is a hell of a value for this thing imo.
like every drug dealer, Microsoft will hook you onto it, then ask for 100, 1000, 10.000 $
@@stewiegriffin6503 nah...
@@rorymilsom1491 he got a point. Thats what usually happens once fully adopted and used.
My company doesent alow me to use coopilot bevause it crosses with confidentiality agreement .cause they collect your data and code.
who is better at code, Github copilot or chatGPT?
If you building something complex algorithm, you probably will need Github Copilot since it's makes your task much easier to find some basic logic.
Thank you James for your advises. As a student I'll take this opportunity.
Just a question: does it work with TS?
it sure does :)
where'd you get that cap?
The question is.. this kind of the auto-complete tool is too tempting for code beginner not to use it.. if one can learn the code examples but type a few letters why typing them all? And they can learn related topics broadly because less time spent on some specific long code examples.
Will the payed version still collect our personal data?
And the answer is yes. Even though users will now pay for the service, Microsoft will continue making money off of them. Thank you, but no thank you.
There is no time a big corporation isn't harvesting data.
@@Isaac-eh6uu true that
I still dont know if I should pay for github colpilot, but I know you need to pay for higher bitrate.
All i see is pixels
Not necessary to have co-pilot , but can be helpful as an addition in understanding algorithms or explaining code.If you just rely on copilot generated code, you lose whats going on since its not your code. I prefer to have great control and understand, rather than rely its going to work. Also you want to learn how to program, right? Its useful to use your brains and once you learn, then can use as a suggestion to improve.
I love to do it myself. The kind of satisfaction that you get after thinking out a logic, typing the code and then tweaking and turning different parts of the code to make it cleaner and more efficient is a priceless experience that I just cannot part with. Sorry Microsoft. I don't need Copilot. I will fly it solo. I will do it manually.
I think there's definitely some edge cases that copilot needs to work on. One edge case is not giving correct suggestions for code for packages that is no longer supported nor used in the repository for example nexus-plugin-prisma and nexus-prisma. nexus-plugin-prisma uses t.crud but nexus-prisma doesn't. I'm sure there are many other packages with a similar case.
I would not accept code from copilot as we have to understand what the code actually does and it makes sense that junior devs shouldn't use it even if it helps the company with quality code.
Overall I think its a amazing tool and over time will only get better with good code quality and scrubbing.
CoPilot is trained on data that was available in the past, it doesn't learn daily.
I have used a sample of Open AI's codex which is connected through API I believe (new dumb programmer), and its a natural language text to code generator. Im pretty sure it does it in reverse too where you can cut and paste code and it will tell you line by line what it is doing in English. As a new programmer that gets confused easily, I can't wait until this is more mainstream and affordable.
Start around 5:00
Thanks. I came to a decision on if I should buy it or not after watching this video. I already pay for an AI tool and since this is basically an automated copy and paste from online sources then I don't really think I need to pay for two AI tools.
Sometimes i get really frustrated with the code suggestion
sometimes it suggests something really funny and making no sense :D
Is it still worth now that we have chatGPT?
hell no if you want to pay use GPT-3 div you get 18 dollars for free
I am truly amazed by the potential and craziness of copilot. I mean, it seriously is crazy.
So should junior developer use it
As a Jr. dev, I'd recommend against it, mostly for the reason of it can hinder your learning process. I turned mine off because I caught myself just hitting tab to auto complete longer lines of code and not fully understanding what was actually going on. On the flip side, for very mundane, repetitive code (array manipulation, switch, if/else, etc), I love it to just catch onto what I need and print it faster than I can do it.
Tbh what i heard is that is is not that good and you can write it better yourself if you are familiar with the language, tho if something is not crystal clear i am sure copilot can push you in a good direction. I would use it if it was included in pro and mostly use it for languages i do touch like every 2 years like C# so that i dont have to google too much.
Hello James how is going? I am a huge fan of your channel , I surely going to pay for it, I only tested GC using javascript and typescript and I saved a lot of time coding, i think it was improved since it was created until now, like you said, it really blew my mind last month, i would say i makes a lot of sense developers pay for the subscription because it worth it (almost for me)
I only hope github do not increase the price of plans at the future for this awesome product.
Greetings
or just have a opensource project then you get it free, of coz the project will have to have little attraction to it
you missed the ethical perspective
Só wouldn't it be good for learning? I thought it might be good for beginners who use it to make questions, not to write for you.
I had a very bad experience with it, always got the wrong suggestions.
Same for me. It make me loose a lot of time because I had to check carefully all suggestions checking for mistakes... Or totally wrong suggestions.
Ah that’s unfortunate. I was pleasantly surprised with how good it was for me
So are you using it anymore or stopped using it completely?
@@JamesQQuick I was unproductive because of that, so i have stopped using it completely.
@@rohitjha7202 Totally understand. Thanks for sharing your experience!
For design front-end isn't that useful. Is like Googling.
I really won't pay for it, I've used it in the preview, and I've to turn it off most of the time, because it was wasting my time clicking esc esc esc.... to not see its nonsense suggestions.
I only turn it on when I'm doing repetitive code or need some known snippets like sorting array in some direction, but when it comes to real business logic no way, it's a real time waster and sometimes makes me go crazy for the sh*t it suggests.
I use a paid IDE for my work and it's waaaaay better and cheaper than this thing.
maybe in the future it becomes better then may consider it, but currently no no no.
No, people signed up because it was free not that it’s cool. No, it cannot help you with things you don’t already know. Most of the stuff you get is something you already know
totally agree, in my case most of the time I have to avoid it as it messes up my code giving me general solutions.
I definitely saw it do things for me that I would have had to look up. Not that it was completely new to me but definitely kept me from having to go to stack overflow lol
That’s what I expected at first but for me it worked extremely well. Better than I thought it would lol
Seriously it should be free for the devs that supported it thru beta I'm pretty pised
its worth every penny!
Is Github Copilot Worth Paying For?? I am not sure if I can answer this. So honest :D
For real for real its worth the money
I used it throughout the whole beta phase when it was free and it was a great experience.
However, when I noticed it was gone I went to the copilot checkout page and decided I didn’t really need it. It’s a thing that’s nice to have but kinda useless at the same time.
Yah it saves you a little time but whatever. Basically just giving your money away
This is just my opinion.
idk, if it could save you only 1 min a day. thats 30 mins(1/2 hr) a month. id say if you make $50/1 hour. thats still worth it for $10/mo (its a breakeven at $20/hr). So, I think math wise, it makes sense for me. But do you need it to solve problem? no. But would it helps save you sometimes to increase your productivity, kinda. and Productivity = Money so as long as its positive, its good enough for me. But I would argue that it saves more than 30 mins/mo
@@danghuy3035 solid points. I actually resubscribed lol I guess I was just mad at first that you have to pay for it but it really is negligible
nice u can be canceled after 59 days lol :-) so I maybe try like that I'm a beginner so yes
I just made 2 apps, one in python (graphs with github api data) and a shell script that does various things... and I wrote it JUST WITH COMMENTS! !!! ! 11! one one eleven!!
wow, that's so wild!
skip the video, just read the comments
Copilot's biggest issue is that they trained on licensed code, which means its generations (while helpful) may get you in a lawsuit! It also costs $10/mo, so they're charging you so that you could get charged in court.
There are alternatives out there like Codeium (which I use daily) - which doesn't train on licensed code and is free for everyone. I'm always wary of free products, but they have a business model that charges for enterprises, so seems like a Notion-like model (free for users, paid for businesses).
When i can afford it. I will, but now, i am pretty much okay
I am sure you can afford 10 dollars lol thats not the point. You probably mean it is not worth it as you can write code yourself anyway.
Yes it is worth it
the 60 day free trial only applies if you opt for the $100 yearly subscription.
You should not, you should not pay to train your future replacement, that will make more money for Microsoft
Yes, it is worty
Github co-pilot? shut up and take my money.
lol it's so good!
short answer:
1. if you are poor then yes
2. if you are struggly hard with money then the answer is yes
3. if you are a good and experienced programmer than the naswer for that is yes
Last trick have your work pay for it? For real? That’s the trick? Lol
If you make money off of it, you should pay.
Why would I pay for something that was trained on peoples public repos. No Thanks.
@Ben Abbott I think the point is that they are charging us for something that was given to them for free by loads of awesome devs. I’m not against it because we choose to use their platform, but I can see the point.
Yet you’re here…on RUclips. Where Google makes money off the backs of content creators lol
@@mfc1190 they are charging for the effort they put into training those AI on the code using their high end servers.. and since there don't seem a way to push advertisment in such kind of product ,,, you got to pay for their service.... i understand that for some part of the world , its costly ..they should come up with different prices depending on the PPP of a country
@@smtkumar007 I agree that it should be a paid feature, it's expensive for them to do. I'm just saying I could also see why someone might disagree, because they are using free data. I disagree with this notion, as (unlike other companies), they don't actually force you to use the feature and pay.
My short answer is NO!.
I just started paying myself last week :)
The Tabnine AI extension even in free version is way ahead of Copilot.
I'm happy with it
Do you have any supporting data as to Tabnine is ahead of copilot?
Nice! I tried it a while back and wasn’t very impressed. Maybe it’s gotten a lot better!
I used Tabnine and Copilot. I wasn't as impressed with Tabnine as i was with Copilot, honestly.
@@nullpointer1755 Same for me!
@@1000ylovers In terms of code, it writes better code, however copilot understands better and writes faster. After all, I don't want an AI that writes "better code", I want an AI that writes a solution.
No
If you have to pay to copilot to code? Do something else. You’re not a coder. As simple is that.
null null null
Wow, an entire video with your face but not examples of copilot
1st !!
Nicely done!
You should own it outright or you can’t sell it
HELP
function myFunc () {
console.log('hello');
}
// myFunc(); //don't give undefined
// console.log(myFunc()); //gives undefined
Question: why console.log gives undefined while without console it is not giving undefined?
just return something from the function
As they said below your function isn’t explicitly returning anything. It returns undefined by default when you don’t return something
@@dineshr8172 i know but why it is not giving undefined when calling like myFunc()
@@paraschauhan9978 man, but myFunc() does give you undefined, just copy that function and call it in browser console to check.
console.log(), also returns undefined, so basically you get two undefined returned in browser console after console.log(myFunc());
You checking outputs in Vscode console using Node? As I understand it might differ when outputing in browser console and in other environments.
@@serhiimaliutin2547 okay , I get it it gives undefines but in vscode it was not showing undefined when calling like function().
also, when i run code in mozilla console
both were giving undefined but console.log gives 2 undefines which later i found that console.log is also an another function
I new newbie in javascript
by the way THANKYOU
Your enthusiasm for the subject is contagious.
Thanks for taking the time to create this valuable content.
I never thought learning GitHub Copilot could be this enjoyable.
The examples you demonstrated were practical and applicable.