Code Refactoring Using Copilot: The Copilot Show - Ep. 5
0 views
Aug 6, 2025
On March 01, join us for the next episode of The Copilot Show - Code Refactoring Using Copilot, hosted by Mahesh Chand, where we explore how AI is revolutionizing the way developers approach code refactoring.! Whether you're a seasoned developer or just starting out, this session will showcase how Copilot can enhance your refactoring workflow, improve code quality, and boost productivity. 📺 CSharp TV - Dev Streaming Destination http://csharp.tv 🌎 C# Corner - Community of Software and Data Developers https://www.c-sharpcorner.com #CSharpTV #csharpcorner #LiveShow
View Video Transcript
0:03
[Music]
0:11
[Music]
0:24
[Music]
0:40
[Music]
0:40
[Music] [Applause]
0:41
[Applause]
0:41
[Applause] [Music]
1:09
hello hello hello good morning good
1:11
hello hello hello good morning good
1:11
hello hello hello good morning good evening good
1:13
evening good
1:13
evening good afternoon welcome to the copilot show my
1:16
afternoon welcome to the copilot show my
1:16
afternoon welcome to the copilot show my name is Mahesh Chan your host I'm
1:18
name is Mahesh Chan your host I'm
1:18
name is Mahesh Chan your host I'm founder of
1:20
founder of
1:20
founder of c.com or AKA C
1:23
c.com or AKA C
1:23
c.com or AKA C Corner if you have been watching the
1:26
Corner if you have been watching the
1:26
Corner if you have been watching the show for a while this is our fifth
1:28
show for a while this is our fifth
1:28
show for a while this is our fifth episode and um
1:30
episode and um
1:30
episode and um all previous episodes are have already
1:32
all previous episodes are have already
1:32
all previous episodes are have already been recorded and posted on
1:35
been recorded and posted on
1:35
been recorded and posted on c.com so if you want to go watch back
1:37
c.com so if you want to go watch back
1:37
c.com so if you want to go watch back previous episodes go to cop.com and go
1:40
previous episodes go to cop.com and go
1:40
previous episodes go to cop.com and go to videos or you can also go to live
1:44
to videos or you can also go to live
1:44
to videos or you can also go to live shows as you know this show is uh all
1:47
shows as you know this show is uh all
1:47
shows as you know this show is uh all about co-pilot GitHub co-pilot and it's
1:49
about co-pilot GitHub co-pilot and it's
1:49
about co-pilot GitHub co-pilot and it's for software Engineers developers
1:52
for software Engineers developers
1:52
for software Engineers developers anybody uses Rights Code do testing
1:56
anybody uses Rights Code do testing
1:56
anybody uses Rights Code do testing write documentation it's for you and
1:58
write documentation it's for you and
1:58
write documentation it's for you and today we are going to
2:01
today we are going to
2:01
today we are going to cover uh code refactoring so let me add
2:05
cover uh code refactoring so let me add
2:05
cover uh code refactoring so let me add my slides here so today is actually
2:08
my slides here so today is actually
2:08
my slides here so today is actually episode five this episode four is wrong
2:11
episode five this episode four is wrong
2:11
episode five this episode four is wrong here I should have fixed that but this
2:14
here I should have fixed that but this
2:14
here I should have fixed that but this is a code refactoring using
2:17
is a code refactoring using
2:17
is a code refactoring using copilot all right so when you think of a
2:19
copilot all right so when you think of a
2:19
copilot all right so when you think of a code
2:21
code
2:21
code refactoring uh just quickly here what uh
2:25
refactoring uh just quickly here what uh
2:25
refactoring uh just quickly here what uh what is code refactoring right code if
2:28
what is code refactoring right code if
2:28
what is code refactoring right code if you have old you have exist code Old
2:31
you have old you have exist code Old
2:31
you have old you have exist code Old code the code refactoring is a process
2:34
code the code refactoring is a process
2:34
code the code refactoring is a process of redoing the code refix it
2:36
of redoing the code refix it
2:36
of redoing the code refix it restructuring the code without changing
2:39
restructuring the code without changing
2:39
restructuring the code without changing the functionality functionality stay
2:41
the functionality functionality stay
2:41
the functionality functionality stay same nothing changes here the work the
2:44
same nothing changes here the work the
2:44
same nothing changes here the work the code whatever it does it does the same
2:46
code whatever it does it does the same
2:46
code whatever it does it does the same thing you're not removing the
2:48
thing you're not removing the
2:48
thing you're not removing the functionality but what you're doing is
2:50
functionality but what you're doing is
2:50
functionality but what you're doing is you are rewriting the code so it's more
2:53
you are rewriting the code so it's more
2:53
you are rewriting the code so it's more readable and maintainable and the reason
2:55
readable and maintainable and the reason
2:56
readable and maintainable and the reason for that is sometimes you know I've been
2:58
for that is sometimes you know I've been
2:58
for that is sometimes you know I've been writing software for last 20 some years
3:00
writing software for last 20 some years
3:00
writing software for last 20 some years what happens when you write software
3:02
what happens when you write software
3:02
what happens when you write software five years ago is first of all you write
3:06
five years ago is first of all you write
3:06
five years ago is first of all you write differently there are different versions
3:08
differently there are different versions
3:08
differently there are different versions of languages the different
3:10
of languages the different
3:10
of languages the different syntaxes but over the years everything
3:12
syntaxes but over the years everything
3:12
syntaxes but over the years everything changes so you want to rewrite the code
3:15
changes so you want to rewrite the code
3:15
changes so you want to rewrite the code and that is what refactoring is so what
3:18
and that is what refactoring is so what
3:19
and that is what refactoring is so what are different parts of refactoring you
3:20
are different parts of refactoring you
3:20
are different parts of refactoring you can reformat the code you obviously you
3:23
can reformat the code you obviously you
3:23
can reformat the code you obviously you want to optimize the code you can clean
3:25
want to optimize the code you can clean
3:25
want to optimize the code you can clean up some of the code for example remember
3:27
up some of the code for example remember
3:27
up some of the code for example remember when we are in college or young
3:29
when we are in college or young
3:29
when we are in college or young developers we write code if more code
3:33
developers we write code if more code
3:33
developers we write code if more code that could easily be put in a modules
3:35
that could easily be put in a modules
3:35
that could easily be put in a modules put in a functions put in other classes
3:37
put in a functions put in other classes
3:37
put in a functions put in other classes right so that's all that is and then
3:40
right so that's all that is and then
3:40
right so that's all that is and then again making code more concise means
3:42
again making code more concise means
3:42
again making code more concise means right now if you compare the C 2.0 four
3:46
right now if you compare the C 2.0 four
3:46
right now if you compare the C 2.0 four C 5 versus C 12 the same code can be
3:50
C 5 versus C 12 the same code can be
3:50
C 5 versus C 12 the same code can be written in smaller number of you know
3:52
written in smaller number of you know
3:52
written in smaller number of you know lines I mean
3:54
lines I mean
3:54
lines I mean smart fewer number of lines compared to
3:57
smart fewer number of lines compared to
3:57
smart fewer number of lines compared to the previous code you can also
3:59
the previous code you can also
3:59
the previous code you can also modularized code also you know sometimes
4:02
modularized code also you know sometimes
4:02
modularized code also you know sometimes some developers if they're writing code
4:04
some developers if they're writing code
4:04
some developers if they're writing code in one complex code units you can break
4:07
in one complex code units you can break
4:07
in one complex code units you can break them down and also upgrade code so those
4:09
them down and also upgrade code so those
4:10
them down and also upgrade code so those are all things comes under code
4:13
are all things comes under code
4:13
are all things comes under code refactoring um what are the benefits as
4:16
refactoring um what are the benefits as
4:16
refactoring um what are the benefits as I talk about obviously it improves
4:18
I talk about obviously it improves
4:18
I talk about obviously it improves readability and that's very important
4:20
readability and that's very important
4:20
readability and that's very important because when you're working in a large
4:22
because when you're working in a large
4:22
because when you're working in a large when when working in large projects
4:24
when when working in large projects
4:24
when when working in large projects where there are 10 people working 20
4:26
where there are 10 people working 20
4:26
where there are 10 people working 20 people working in different teams code
4:28
people working in different teams code
4:28
people working in different teams code readability matters right because it's
4:31
readability matters right because it's
4:31
readability matters right because it's easy to understand the code and uh again
4:34
easy to understand the code and uh again
4:34
easy to understand the code and uh again same thing with maintainability right
4:35
same thing with maintainability right
4:35
same thing with maintainability right you want to maintain the code add find a
4:38
you want to maintain the code add find a
4:38
you want to maintain the code add find a bug fix bugs it obviously boost
4:41
bug fix bugs it obviously boost
4:41
bug fix bugs it obviously boost performance one of the reason is Boost
4:43
performance one of the reason is Boost
4:43
performance one of the reason is Boost performance means there may be C slow
4:44
performance means there may be C slow
4:44
performance means there may be C slow code somewhere there may be a loop
4:46
code somewhere there may be a loop
4:46
code somewhere there may be a loop that's messing the performance right
4:48
that's messing the performance right
4:48
that's messing the performance right there may be a um something like
4:51
there may be a um something like
4:51
there may be a um something like exceptions coming up or there's a dead
4:53
exceptions coming up or there's a dead
4:53
exceptions coming up or there's a dead log there right all these things
4:56
log there right all these things
4:56
log there right all these things matter and then obviously it helps
4:58
matter and then obviously it helps
4:58
matter and then obviously it helps increase code Reg usability
5:00
increase code Reg usability
5:00
increase code Reg usability expendability and also reduce end of the
5:03
expendability and also reduce end of the
5:03
expendability and also reduce end of the day you reducing technical datb so those
5:05
day you reducing technical datb so those
5:05
day you reducing technical datb so those are some of the benefits so anybody
5:07
are some of the benefits so anybody
5:07
are some of the benefits so anybody who's a senior developer they should
5:10
who's a senior developer they should
5:10
who's a senior developer they should definitely pay attention to code
5:12
definitely pay attention to code
5:12
definitely pay attention to code refactoring always because if your team
5:14
refactoring always because if your team
5:14
refactoring always because if your team or you're leading a leading a team or
5:17
or you're leading a leading a team or
5:17
or you're leading a leading a team or you are an architect or you are you know
5:19
you are an architect or you are you know
5:19
you are an architect or you are you know your job is to deliver code to the
5:21
your job is to deliver code to the
5:22
your job is to deliver code to the clients code reflecting should be a part
5:24
clients code reflecting should be a part
5:24
clients code reflecting should be a part of your your weekly
5:28
of your your weekly
5:28
of your your weekly tasks um it used to be hard back in the
5:30
tasks um it used to be hard back in the
5:30
tasks um it used to be hard back in the day but like so before that let me also
5:34
day but like so before that let me also
5:35
day but like so before that let me also when do you want when you should
5:36
when do you want when you should
5:36
when do you want when you should refactor your code when is the good time
5:38
refactor your code when is the good time
5:38
refactor your code when is the good time to refactor the code so before adding
5:42
to refactor the code so before adding
5:42
to refactor the code so before adding new features so let's say you are going
5:44
new features so let's say you are going
5:44
new features so let's say you are going to add a new feature and you already
5:46
to add a new feature and you already
5:46
to add a new feature and you already have existing code in area you're
5:48
have existing code in area you're
5:48
have existing code in area you're working on or there a file or a module
5:50
working on or there a file or a module
5:50
working on or there a file or a module or a function you want to look at
5:52
or a function you want to look at
5:52
or a function you want to look at that after the product launch let's say
5:55
that after the product launch let's say
5:55
that after the product launch let's say you have something to deliverable you
5:57
you have something to deliverable you
5:57
you have something to deliverable you already built the product it's already
5:58
already built the product it's already
5:58
already built the product it's already launched it's up and running now you can
6:00
launched it's up and running now you can
6:00
launched it's up and running now you can say you know what I want to take a
6:01
say you know what I want to take a
6:02
say you know what I want to take a little bit housekeeping and I want to
6:03
little bit housekeeping and I want to
6:03
little bit housekeeping and I want to look at some of the code refecting and
6:05
look at some of the code refecting and
6:05
look at some of the code refecting and fix some of the code um when following
6:08
fix some of the code um when following
6:08
fix some of the code um when following the rule of three what is Rule of three
6:10
the rule of three what is Rule of three
6:10
the rule of three what is Rule of three is that there is something if you're
6:11
is that there is something if you're
6:11
is that there is something if you're doing multiple times repeat again and
6:14
doing multiple times repeat again and
6:14
doing multiple times repeat again and again like if I written similar code
6:16
again like if I written similar code
6:16
again like if I written similar code three times my rule is I have a rule of
6:18
three times my rule is I have a rule of
6:18
three times my rule is I have a rule of two but everybody suggests three so if
6:20
two but everybody suggests three so if
6:20
two but everybody suggests three so if you're writing same thing three times
6:22
you're writing same thing three times
6:22
you're writing same thing three times maybe you want to take that code out and
6:24
maybe you want to take that code out and
6:24
maybe you want to take that code out and put in a separate module separate
6:26
put in a separate module separate
6:26
put in a separate module separate function or method in C it's a method
6:29
function or method in C it's a method
6:29
function or method in C it's a method right
6:30
right
6:30
right or a class whatever it works if you're
6:32
or a class whatever it works if you're
6:32
or a class whatever it works if you're doing code reviews yes before if you are
6:35
doing code reviews yes before if you are
6:35
doing code reviews yes before if you are a developer and you are sending your
6:36
a developer and you are sending your
6:36
a developer and you are sending your code for review you want to make sure
6:38
code for review you want to make sure
6:38
code for review you want to make sure you refactor your code when code is Ms
6:41
you refactor your code when code is Ms
6:41
you refactor your code when code is Ms there's code is Mells there dup code C
6:43
there's code is Mells there dup code C
6:43
there's code is Mells there dup code C bad code all that performance issues
6:46
bad code all that performance issues
6:46
bad code all that performance issues there or when there's Tech migration
6:48
there or when there's Tech migration
6:49
there or when there's Tech migration obviously when you're migrating from one
6:51
obviously when you're migrating from one
6:51
obviously when you're migrating from one version to other version and when you
6:54
version to other version and when you
6:54
version to other version and when you see that there's a lot of bugs coming
6:56
see that there's a lot of bugs coming
6:56
see that there's a lot of bugs coming that's when you want to refactor your
6:58
that's when you want to refactor your
6:58
that's when you want to refactor your code hopefully that make sense so we
7:00
code hopefully that make sense so we
7:00
code hopefully that make sense so we covered in this what is code refactoring
7:03
covered in this what is code refactoring
7:03
covered in this what is code refactoring how it helps right benefits of code
7:05
how it helps right benefits of code
7:05
how it helps right benefits of code refactoring and when to refactor a code
7:07
refactoring and when to refactor a code
7:07
refactoring and when to refactor a code so now let me do I'm going to now share
7:11
so now let me do I'm going to now share
7:11
so now let me do I'm going to now share my screen so I'm going to go into visual
7:15
my screen so I'm going to go into visual
7:15
my screen so I'm going to go into visual studio
7:17
studio
7:17
studio and just jump
7:21
and just jump
7:21
and just jump here so I'm going to show now how
7:24
here so I'm going to show now how
7:24
here so I'm going to show now how co-pilot obviously is one of the best
7:26
co-pilot obviously is one of the best
7:26
co-pilot obviously is one of the best tool as a software developer can ask for
7:29
tool as a software developer can ask for
7:29
tool as a software developer can ask for for and you can do refactoring was hard
7:33
for and you can do refactoring was hard
7:33
for and you can do refactoring was hard back in the day okay back in the day
7:36
back in the day okay back in the day
7:36
back in the day okay back in the day without these tools code refecting was
7:38
without these tools code refecting was
7:38
without these tools code refecting was hard but all these latest tools like
7:41
hard but all these latest tools like
7:41
hard but all these latest tools like Visual Studio vs code you know intell
7:44
Visual Studio vs code you know intell
7:44
Visual Studio vs code you know intell all these I new IDs they have code
7:47
all these I new IDs they have code
7:47
all these I new IDs they have code refactoring features
7:48
refactoring features
7:48
refactoring features already however now with
7:53
co-pilot this has become a much easier
7:56
co-pilot this has become a much easier
7:56
co-pilot this has become a much easier it's like literally if I want to
7:58
it's like literally if I want to
7:58
it's like literally if I want to refactor code I don't have to spend too
8:00
refactor code I don't have to spend too
8:00
refactor code I don't have to spend too much time on refactoring code all I can
8:03
much time on refactoring code all I can
8:03
much time on refactoring code all I can do is just use my GitHub Cod pallet um
8:07
do is just use my GitHub Cod pallet um
8:07
do is just use my GitHub Cod pallet um if you don't know if I'm in here Visual
8:10
if you don't know if I'm in here Visual
8:10
if you don't know if I'm in here Visual Studio Community Edition it's a free one
8:12
Studio Community Edition it's a free one
8:12
Studio Community Edition it's a free one you don't need to pay for that if you're
8:14
you don't need to pay for that if you're
8:14
you don't need to pay for that if you're using that or vs code or any IDE I'm
8:17
using that or vs code or any IDE I'm
8:17
using that or vs code or any IDE I'm sure your GitHub copilot is activated
8:19
sure your GitHub copilot is activated
8:19
sure your GitHub copilot is activated here as you can see I have my GitHub
8:22
here as you can see I have my GitHub
8:22
here as you can see I have my GitHub copilot activated here um so this is
8:26
copilot activated here um so this is
8:26
copilot activated here um so this is some of the code it's old code it's not
8:28
some of the code it's old code it's not
8:28
some of the code it's old code it's not really old code but I have written it so
8:30
really old code but I have written it so
8:31
really old code but I have written it so it it will look like it's an old code
8:33
it it will look like it's an old code
8:33
it it will look like it's an old code right and it has some issues it doesn't
8:35
right and it has some issues it doesn't
8:35
right and it has some issues it doesn't have bugs it's not slow it's small you
8:38
have bugs it's not slow it's small you
8:38
have bugs it's not slow it's small you know the code is really you know small
8:40
know the code is really you know small
8:40
know the code is really you know small it's not you know huge code um but I'm
8:43
it's not you know huge code um but I'm
8:43
it's not you know huge code um but I'm going to show you a few things how you
8:46
going to show you a few things how you
8:46
going to show you a few things how you can
8:47
can
8:47
can use um you know you can use goala to
8:51
use um you know you can use goala to
8:51
use um you know you can use goala to refactor this code and as I said in my
8:53
refactor this code and as I said in my
8:53
refactor this code and as I said in my slide let me quick open few things you
8:56
slide let me quick open few things you
8:56
slide let me quick open few things you can do is format code right first thing
8:58
can do is format code right first thing
8:58
can do is format code right first thing is code formatting is a part of code
9:01
is code formatting is a part of code
9:01
is code formatting is a part of code refactoring performance modu CH you know
9:05
refactoring performance modu CH you know
9:05
refactoring performance modu CH you know putting in that so in this could apply
9:08
putting in that so in this could apply
9:08
putting in that so in this could apply to any of the existing code you already
9:10
to any of the existing code you already
9:10
to any of the existing code you already have one thing I would be careful is if
9:13
have one thing I would be careful is if
9:13
have one thing I would be careful is if you are working on a large project you
9:16
you are working on a large project you
9:16
you are working on a large project you want to be careful with recode
9:18
want to be careful with recode
9:18
want to be careful with recode refactoring because it might change a
9:21
refactoring because it might change a
9:21
refactoring because it might change a lot of things that may affect other
9:23
lot of things that may affect other
9:23
lot of things that may affect other areas of the code so you want to be very
9:26
areas of the code so you want to be very
9:26
areas of the code so you want to be very careful with that so you want to Target
9:27
careful with that so you want to Target
9:27
careful with that so you want to Target one either one file at a time that's
9:30
one either one file at a time that's
9:30
one either one file at a time that's ideal so if you have let's say huge
9:32
ideal so if you have let's say huge
9:32
ideal so if you have let's say huge project with say hundreds of files maybe
9:35
project with say hundreds of files maybe
9:35
project with say hundreds of files maybe you want to just Target one file at a
9:37
you want to just Target one file at a
9:37
you want to just Target one file at a time um because that will be much easier
9:40
time um because that will be much easier
9:40
time um because that will be much easier unless you rewrite the re architect the
9:42
unless you rewrite the re architect the
9:42
unless you rewrite the re architect the whole code okay I hope I'm making sense
9:45
whole code okay I hope I'm making sense
9:45
whole code okay I hope I'm making sense keep your questions
9:46
keep your questions
9:46
keep your questions ready um and if you are using re code
9:50
ready um and if you are using re code
9:50
ready um and if you are using re code copilot for refactoring I want to hear
9:52
copilot for refactoring I want to hear
9:52
copilot for refactoring I want to hear from you what you think so let's let's
9:54
from you what you think so let's let's
9:54
from you what you think so let's let's let's get do some work here so I have
9:57
let's get do some work here so I have
9:57
let's get do some work here so I have this class here it's a author class it
10:00
this class here it's a author class it
10:00
this class here it's a author class it has three simple properties name
10:02
has three simple properties name
10:03
has three simple properties name function name nationality in age this is
10:05
function name nationality in age this is
10:05
function name nationality in age this is my main method I add a collection of
10:08
my main method I add a collection of
10:08
my main method I add a collection of author collection of authors here right
10:11
author collection of authors here right
10:11
author collection of authors here right and then I add some manual authors here
10:13
and then I add some manual authors here
10:13
and then I add some manual authors here ABC and then what it does is creates a
10:16
ABC and then what it does is creates a
10:16
ABC and then what it does is creates a text file and then it just goes and
10:19
text file and then it just goes and
10:19
text file and then it just goes and display you know writes all those
10:22
display you know writes all those
10:22
display you know writes all those authors to the text file and then I read
10:25
authors to the text file and then I read
10:25
authors to the text file and then I read it and read it display on the console
10:28
it and read it display on the console
10:28
it and read it display on the console and then also I search for a name or
10:31
and then also I search for a name or
10:31
and then also I search for a name or some I search for um here position right
10:35
some I search for um here position right
10:35
some I search for um here position right so that's all it does nothing very
10:36
so that's all it does nothing very
10:36
so that's all it does nothing very simple program but idea here is to show
10:39
simple program but idea here is to show
10:39
simple program but idea here is to show you how copilot can help you know
10:41
you how copilot can help you know
10:41
you how copilot can help you know refactor this code so as I say
10:44
refactor this code so as I say
10:44
refactor this code so as I say all I launch my calet right ask C here I
10:49
all I launch my calet right ask C here I
10:49
all I launch my calet right ask C here I can ask
10:50
can ask
10:50
can ask anything can you review this code and
10:55
anything can you review this code and
10:55
anything can you review this code and suggest
10:57
suggest
10:57
suggest me what
10:59
me what
11:00
me what um code
11:02
um code
11:02
um code refactoring
11:04
refactoring
11:04
refactoring options
11:07
options
11:07
options apply yeah I'm just asking you don't
11:09
apply yeah I'm just asking you don't
11:09
apply yeah I'm just asking you don't have to ask if you already know what you
11:11
have to ask if you already know what you
11:11
have to ask if you already know what you want your co-pilot to do you can always
11:14
want your co-pilot to do you can always
11:15
want your co-pilot to do you can always do it yourself but you don't know what
11:16
do it yourself but you don't know what
11:16
do it yourself but you don't know what you can do you can also ask copilot so
11:19
you can do you can also ask copilot so
11:19
you can do you can also ask copilot so copilot comes and says okay there are
11:21
copilot comes and says okay there are
11:22
copilot comes and says okay there are certain thing you can say you can say
11:23
certain thing you can say you can say
11:23
certain thing you can say you can say consolidate variable declarations in the
11:25
consolidate variable declarations in the
11:25
consolidate variable declarations in the main method there's variable
11:27
main method there's variable
11:27
main method there's variable ABC that's clear separately you can
11:30
ABC that's clear separately you can
11:30
ABC that's clear separately you can consolidate sure you can put in one
11:32
consolidate sure you can put in one
11:32
consolidate sure you can put in one block right I can say variable ABC in
11:35
block right I can say variable ABC in
11:35
block right I can say variable ABC in one line that's great object
11:36
one line that's great object
11:36
one line that's great object initialization Che I can also use so in
11:40
initialization Che I can also use so in
11:40
initialization Che I can also use so in our code if you look here what I've done
11:44
our code if you look here what I've done
11:44
our code if you look here what I've done is I have created old way right I
11:45
is I have created old way right I
11:45
is I have created old way right I created author a a do name this a do
11:49
created author a a do name this a do
11:49
created author a a do name this a do this nationality this I can just create
11:52
this nationality this I can just create
11:52
this nationality this I can just create just author object and using initializer
11:54
just author object and using initializer
11:54
just author object and using initializer in one line right that's kind of
11:56
in one line right that's kind of
11:56
in one line right that's kind of suggested here as you can see
11:59
suggested here as you can see
11:59
suggested here as you can see right so I can literally create object
12:02
right so I can literally create object
12:02
right so I can literally create object author in one line here you can look at
12:04
author in one line here you can look at
12:04
author in one line here you can look at the preview and then it will also in
12:08
the preview and then it will also in
12:08
the preview and then it will also in embed that code right that's has done uh
12:12
embed that code right that's has done uh
12:12
embed that code right that's has done uh let's see what else it says preview uh
12:14
let's see what else it says preview uh
12:14
let's see what else it says preview uh it says number third extract file IO
12:16
it says number third extract file IO
12:16
it says number third extract file IO operations into separate method so this
12:18
operations into separate method so this
12:18
operations into separate method so this is suggesting me that I can write a
12:21
is suggesting me that I can write a
12:21
is suggesting me that I can write a certain code Block in a separate method
12:24
certain code Block in a separate method
12:25
certain code Block in a separate method okay that will be outside of main uh
12:27
okay that will be outside of main uh
12:27
okay that will be outside of main uh handle iio exceptions okay I don't have
12:30
handle iio exceptions okay I don't have
12:30
handle iio exceptions okay I don't have exception here so it says code currently
12:33
exception here so it says code currently
12:33
exception here so it says code currently does not handle any exception so I
12:35
does not handle any exception so I
12:35
does not handle any exception so I should add exception handling there as
12:37
should add exception handling there as
12:37
should add exception handling there as well using Str string interpolation
12:41
well using Str string interpolation
12:41
well using Str string interpolation string interpolation is the new way in C
12:44
string interpolation is the new way in C
12:44
string interpolation is the new way in C to concatenate the strings I could
12:46
to concatenate the strings I could
12:46
to concatenate the strings I could literally do that as well in just one
12:49
literally do that as well in just one
12:49
literally do that as well in just one line um and then it's also saying there
12:52
line um and then it's also saying there
12:52
line um and then it's also saying there are few other suggestions as well you
12:55
are few other suggestions as well you
12:55
are few other suggestions as well you know so as you can see rather than me
12:58
know so as you can see rather than me
12:58
know so as you can see rather than me asking what needs to be fixed you can
13:00
asking what needs to be fixed you can
13:00
asking what needs to be fixed you can first even ask go pilot and saying hey
13:03
first even ask go pilot and saying hey
13:03
first even ask go pilot and saying hey can you suggest me what can you fix here
13:06
can you suggest me what can you fix here
13:06
can you suggest me what can you fix here so that's one way to do
13:09
so that's one way to do
13:09
so that's one way to do it I hopefully you're getting something
13:11
it I hopefully you're getting something
13:11
it I hopefully you're getting something you're learning something which is very
13:13
you're learning something which is very
13:13
you're learning something which is very useful to be honest if you are a senior
13:15
useful to be honest if you are a senior
13:15
useful to be honest if you are a senior developer you manage code this is very
13:17
developer you manage code this is very
13:17
developer you manage code this is very useful and you want to test your code
13:19
useful and you want to test your code
13:19
useful and you want to test your code how your team members writing code is it
13:22
how your team members writing code is it
13:22
how your team members writing code is it U optimized it is performance it is high
13:25
U optimized it is performance it is high
13:25
U optimized it is performance it is high performance is is problem with bugs
13:27
performance is is problem with bugs
13:28
performance is is problem with bugs issues you you can use go- pilot for all
13:31
issues you you can use go- pilot for all
13:31
issues you you can use go- pilot for all these things so I can say preview so it
13:34
these things so I can say preview so it
13:34
these things so I can say preview so it shows me how I can do that
13:37
shows me how I can do that
13:37
shows me how I can do that right
13:38
right
13:38
right um and then I can accept
13:42
um and then I can accept
13:42
um and then I can accept it boom it didn't fix this but I can
13:45
it boom it didn't fix this but I can
13:45
it boom it didn't fix this but I can also go and manually talk to this so you
13:47
also go and manually talk to this so you
13:47
also go and manually talk to this so you get the idea right so I will just say
13:50
get the idea right so I will just say
13:50
get the idea right so I will just say right here I'm I can you can also pick a
13:53
right here I'm I can you can also pick a
13:53
right here I'm I can you can also pick a parts of code here can you fix
13:58
parts of code here can you fix
13:58
parts of code here can you fix below author objects and
14:02
below author objects and
14:02
below author objects and optimize
14:09
them let's see what it does right
14:13
them let's see what it does right
14:13
them let's see what it does right um again it's learning process sometimes
14:16
um again it's learning process sometimes
14:16
um again it's learning process sometimes you your copilot takes time to learn
14:18
you your copilot takes time to learn
14:18
you your copilot takes time to learn sometimes you have to teach it um and
14:20
sometimes you have to teach it um and
14:20
sometimes you have to teach it um and sometimes it may not work right remember
14:23
sometimes it may not work right remember
14:23
sometimes it may not work right remember it's all still learning so as you can
14:24
it's all still learning so as you can
14:25
it's all still learning so as you can see left side versus right side here in
14:27
see left side versus right side here in
14:27
see left side versus right side here in the right side it's Crea author object
14:30
the right side it's Crea author object
14:30
the right side it's Crea author object as a one initializer right it's just in
14:32
as a one initializer right it's just in
14:32
as a one initializer right it's just in one line and in the right side I'm using
14:35
one line and in the right side I'm using
14:35
one line and in the right side I'm using a do name property equal to this so it
14:38
a do name property equal to this so it
14:38
a do name property equal to this so it has done what actually I asked him so
14:40
has done what actually I asked him so
14:40
has done what actually I asked him so I'm going to say
14:41
I'm going to say
14:41
I'm going to say accept so I accept here as you can see
14:44
accept so I accept here as you can see
14:44
accept so I accept here as you can see now my author objects are created here
14:48
now my author objects are created here
14:48
now my author objects are created here just in one line that's where you
14:50
just in one line that's where you
14:50
just in one line that's where you optimize
14:52
optimize
14:52
optimize right now I'm going to ask this again
14:55
right now I'm going to ask this again
14:55
right now I'm going to ask this again what it suggested while ago I mean in
14:57
what it suggested while ago I mean in
14:57
what it suggested while ago I mean in the I say can you
15:00
the I say can you
15:00
the I say can you you add common
15:04
you add common
15:04
you add common functionality in separate
15:08
methods so what I'm doing is the code
15:11
methods so what I'm doing is the code
15:11
methods so what I'm doing is the code written in the file here I'm going to
15:14
written in the file here I'm going to
15:14
written in the file here I'm going to move then let's say writing you know uh
15:16
move then let's say writing you know uh
15:16
move then let's say writing you know uh see what it does so it's there you go
15:18
see what it does so it's there you go
15:18
see what it does so it's there you go right my goal is I want to move this
15:20
right my goal is I want to move this
15:20
right my goal is I want to move this code of writing two file right read from
15:23
code of writing two file right read from
15:23
code of writing two file right read from file separate them and what it does is
15:27
file separate them and what it does is
15:27
file separate them and what it does is as you can see it suggested that okay
15:29
as you can see it suggested that okay
15:29
as you can see it suggested that okay write author file write author to file
15:32
write author file write author to file
15:32
write author file write author to file and read authors from file right so
15:35
and read authors from file right so
15:35
and read authors from file right so that's what I'm doing so it also has
15:36
that's what I'm doing so it also has
15:36
that's what I'm doing so it also has done is created these two
15:38
done is created these two
15:39
done is created these two methods read author from file and file
15:43
methods read author from file and file
15:43
methods read author from file and file find author position this is there's
15:45
find author position this is there's
15:45
find author position this is there's another I'm doing is I'm finding author
15:46
another I'm doing is I'm finding author
15:46
another I'm doing is I'm finding author with position and then let's see what it
15:49
with position and then let's see what it
15:49
with position and then let's see what it does so it has written suggest that so
15:52
does so it has written suggest that so
15:52
does so it has written suggest that so boom so as you can see here it has
15:55
boom so as you can see here it has
15:55
boom so as you can see here it has created these three methods new methods
15:57
created these three methods new methods
15:57
created these three methods new methods here right authors to file read authors
16:01
here right authors to file read authors
16:01
here right authors to file read authors from file and find author position it
16:03
from file and find author position it
16:03
from file and find author position it has done that so now as you can see my
16:07
has done that so now as you can see my
16:07
has done that so now as you can see my code is more readable maintainable and
16:10
code is more readable maintainable and
16:10
code is more readable maintainable and it's clean one thing I want to do also
16:12
it's clean one thing I want to do also
16:12
it's clean one thing I want to do also is is which is it has not done is can
16:16
is is which is it has not done is can
16:16
is is which is it has not done is can you add detailed commands to this code
16:22
you add detailed commands to this code
16:22
you add detailed commands to this code because commments help right it has
16:24
because commments help right it has
16:24
because commments help right it has readability right it can
16:26
readability right it can
16:27
readability right it can explain um
16:31
didn't understand look like it's writing
16:34
didn't understand look like it's writing
16:34
didn't understand look like it's writing only to the existing what say cancel it
16:37
only to the existing what say cancel it
16:37
only to the existing what say cancel it didn't get
16:39
didn't get
16:39
didn't get me I'm going
16:42
me I'm going
16:42
me I'm going to please
16:46
comment comment this
16:49
comment comment this
16:49
comment comment this entire
16:51
entire
16:51
entire program okay I'm just asking go to add
16:54
program okay I'm just asking go to add
16:54
program okay I'm just asking go to add commments to the entire program not just
16:56
commments to the entire program not just
16:56
commments to the entire program not just not just the new code I just wrote it
16:59
not just the new code I just wrote it
16:59
not just the new code I just wrote it picked only new code so see it knows
17:01
picked only new code so see it knows
17:01
picked only new code so see it knows what code I'm working on right so you
17:03
what code I'm working on right so you
17:03
what code I'm working on right so you have to be specific so now it has it's
17:06
have to be specific so now it has it's
17:06
have to be specific so now it has it's adding commands to that almost like you
17:09
adding commands to that almost like you
17:09
adding commands to that almost like you know all code code blocks right here so
17:15
know all code code blocks right here so
17:15
know all code code blocks right here so accept it says Define the author class
17:18
accept it says Define the author class
17:18
accept it says Define the author class this say now it has committed every line
17:20
this say now it has committed every line
17:21
this say now it has committed every line you can see from here so now I can read
17:23
you can see from here so now I can read
17:23
you can see from here so now I can read it better let's run this program
17:38
and as you can see I have not changed
17:40
and as you can see I have not changed
17:40
and as you can see I have not changed anything in the functionality of the
17:43
anything in the functionality of the
17:43
anything in the functionality of the this program it does exactly what it was
17:45
this program it does exactly what it was
17:45
this program it does exactly what it was doing before all I have done is made it
17:48
doing before all I have done is made it
17:48
doing before all I have done is made it more readable made it more optimized I
17:51
more readable made it more optimized I
17:51
more readable made it more optimized I added you know move code out of the main
17:54
added you know move code out of the main
17:54
added you know move code out of the main main method that's all I have done right
17:57
main method that's all I have done right
17:57
main method that's all I have done right I can also I'm I'm going to do a few
17:59
I can also I'm I'm going to do a few
17:59
I can also I'm I'm going to do a few more things before I say can you review
18:04
more things before I say can you review
18:04
more things before I say can you review this
18:06
this
18:06
this code to make
18:09
code to make
18:09
code to make sure it is using latest
18:14
sure it is using latest
18:14
sure it is using latest C language and its
18:18
C language and its
18:18
C language and its syntaxes so now what it will do is it's
18:21
syntaxes so now what it will do is it's
18:21
syntaxes so now what it will do is it's going to look at okay it's going to say
18:24
going to look at okay it's going to say
18:24
going to look at okay it's going to say what um
18:29
so now it did all the things it compare
18:31
so now it did all the things it compare
18:31
so now it did all the things it compare go through that class definition author
18:33
go through that class definition author
18:33
go through that class definition author list string interpolation file IO uh
18:37
list string interpolation file IO uh
18:37
list string interpolation file IO uh comparison it's comparing the blah blah
18:39
comparison it's comparing the blah blah
18:39
comparison it's comparing the blah blah so it says overall the code is written
18:42
so it says overall the code is written
18:42
so it says overall the code is written using the latest C language features
18:44
using the latest C language features
18:44
using the latest C language features that follows the recommended syntaxes so
18:46
that follows the recommended syntaxes so
18:46
that follows the recommended syntaxes so this looks good uh you can be very
18:49
this looks good uh you can be very
18:49
this looks good uh you can be very specific here as well so if you know
18:51
specific here as well so if you know
18:51
specific here as well so if you know there is a c 12 and specific you want to
18:54
there is a c 12 and specific you want to
18:54
there is a c 12 and specific you want to use certain features and you can ask
18:56
use certain features and you can ask
18:56
use certain features and you can ask that's that's kind of so I just tested
18:58
that's that's kind of so I just tested
18:58
that's that's kind of so I just tested my code looks like it's written using
19:00
my code looks like it's written using
19:00
my code looks like it's written using latest version of C that's great I can
19:02
latest version of C that's great I can
19:02
latest version of C that's great I can also say what version of c are you using
19:08
also say what version of c are you using
19:08
also say what version of c are you using let's see what it does
19:11
let's see what it does
19:11
let's see what it does um let say okay I don't have a specific
19:14
um let say okay I don't have a specific
19:14
um let say okay I don't have a specific version of this but this is wrong um you
19:16
version of this but this is wrong um you
19:16
version of this but this is wrong um you can be specific can you check if this
19:24
code is written using C 12 or later I
19:30
code is written using C 12 or later I
19:30
code is written using C 12 or later I think C 12 is the latest
19:33
think C 12 is the latest
19:33
think C 12 is the latest version uh code you provide is not
19:35
version uh code you provide is not
19:35
version uh code you provide is not written C 12 or any later version as of
19:38
written C 12 or any later version as of
19:38
written C 12 or any later version as of my knowledge the latest version of C is
19:40
my knowledge the latest version of C is
19:40
my knowledge the latest version of C is nine see so releas in 2020 so what this
19:43
nine see so releas in 2020 so what this
19:43
nine see so releas in 2020 so what this is the problem with co-pilot is that
19:46
is the problem with co-pilot is that
19:46
is the problem with co-pilot is that because some of the content it has is
19:49
because some of the content it has is
19:49
because some of the content it has is older and sometimes as you says this is
19:51
older and sometimes as you says this is
19:51
older and sometimes as you says this is you know it's could be 6 months older
19:54
you know it's could be 6 months older
19:54
you know it's could be 6 months older sometimes it's train on later versions
19:56
sometimes it's train on later versions
19:56
sometimes it's train on later versions so this may not give you the lat latest
19:59
so this may not give you the lat latest
19:59
so this may not give you the lat latest latest version of the C language that
20:02
latest version of the C language that
20:02
latest version of the C language that means you have to do it manually um that
20:05
means you have to do it manually um that
20:05
means you have to do it manually um that is one of the challenges but however if
20:07
is one of the challenges but however if
20:07
is one of the challenges but however if you go to some other jni tools um they
20:10
you go to some other jni tools um they
20:11
you go to some other jni tools um they can actually convert so this is you have
20:12
can actually convert so this is you have
20:12
can actually convert so this is you have to make a decision here
20:15
to make a decision here
20:15
to make a decision here right uh all right so let me quick open
20:18
right uh all right so let me quick open
20:18
right uh all right so let me quick open my PowerPoint and I'm going to see if we
20:21
my PowerPoint and I'm going to see if we
20:21
my PowerPoint and I'm going to see if we covered every every topic here um is do
20:25
covered every every topic here um is do
20:25
covered every every topic here um is do let's see code refactoring so what did
20:27
let's see code refactoring so what did
20:27
let's see code refactoring so what did we cover here let me see
20:29
we cover here let me see
20:29
we cover here let me see we cover the reformat code we optimize
20:32
we cover the reformat code we optimize
20:32
we cover the reformat code we optimize code clean up repetive task we already
20:34
code clean up repetive task we already
20:34
code clean up repetive task we already covered that we making more concise
20:37
covered that we making more concise
20:37
covered that we making more concise modularized code breaking up complex
20:40
modularized code breaking up complex
20:40
modularized code breaking up complex upgrade code so upgrade code is
20:42
upgrade code so upgrade code is
20:42
upgrade code so upgrade code is important say you have old code you know
20:44
important say you have old code you know
20:44
important say you have old code you know it's written in C 5 and you want to
20:47
it's written in C 5 and you want to
20:47
it's written in C 5 and you want to convert that to C 9 you can ask it and
20:50
convert that to C 9 you can ask it and
20:50
convert that to C 9 you can ask it and it's going to recommend you that so with
20:52
it's going to recommend you that so with
20:52
it's going to recommend you that so with that said I think U I hope you learned
20:55
that said I think U I hope you learned
20:55
that said I think U I hope you learned something today um I really like this
20:58
something today um I really like this
20:58
something today um I really like this whole code refactoring features and uh
21:01
whole code refactoring features and uh
21:01
whole code refactoring features and uh if you let me see some comments here
21:02
if you let me see some comments here
21:03
if you let me see some comments here hopefully you're using some of them um
21:06
hopefully you're using some of them um
21:06
hopefully you're using some of them um so let's see sarak hey welcome sarak
21:10
so let's see sarak hey welcome sarak
21:10
so let's see sarak hey welcome sarak welcome back to here says with copilot
21:13
welcome back to here says with copilot
21:13
welcome back to here says with copilot it's able to generate code how should
21:15
it's able to generate code how should
21:15
it's able to generate code how should cop developer balance AI assistant with
21:18
cop developer balance AI assistant with
21:18
cop developer balance AI assistant with maintaining best coding practi and
21:20
maintaining best coding practi and
21:20
maintaining best coding practi and learning fundamental concepts so what
21:24
learning fundamental concepts so what
21:24
learning fundamental concepts so what you can do is s that's a great question
21:27
you can do is s that's a great question
21:27
you can do is s that's a great question you can first tell you can first tell
21:29
you can first tell you can first tell
21:30
you can first tell you can first tell co-pilot to learn from your projects
21:33
co-pilot to learn from your projects
21:33
co-pilot to learn from your projects okay you can say hey this is well you
21:35
okay you can say hey this is well you
21:35
okay you can say hey this is well you know you can tell copilot can you learn
21:38
know you can tell copilot can you learn
21:38
know you can tell copilot can you learn my syntaxes my coding practices my
21:41
my syntaxes my coding practices my
21:42
my syntaxes my coding practices my standards how I write code from my
21:44
standards how I write code from my
21:44
standards how I write code from my existing project and
21:46
existing project and
21:46
existing project and then then it will write based on what
21:49
then then it will write based on what
21:49
then then it will write based on what you have written it there actually you
21:51
you have written it there actually you
21:51
you have written it there actually you can also say can you look at the best
21:53
can also say can you look at the best
21:53
can also say can you look at the best practices it will suggest some of the
21:55
practices it will suggest some of the
21:55
practices it will suggest some of the existing best practices maybe we will do
21:58
existing best practices maybe we will do
21:58
existing best practices maybe we will do one show just on breast practices in um
22:01
one show just on breast practices in um
22:01
one show just on breast practices in um you know C how to write code syntaxes
22:04
you know C how to write code syntaxes
22:04
you know C how to write code syntaxes and so on so forth that we can do that
22:06
and so on so forth that we can do that
22:06
and so on so forth that we can do that too it you can also be specific you can
22:08
too it you can also be specific you can
22:08
too it you can also be specific you can say use this kind is this time this
22:10
say use this kind is this time this
22:11
say use this kind is this time this types of best practices use this kind of
22:12
types of best practices use this kind of
22:12
types of best practices use this kind of Standards you can have coding standards
22:15
Standards you can have coding standards
22:15
Standards you can have coding standards you can mention them right you can also
22:17
you can mention them right you can also
22:17
you can mention them right you can also say oh I want to use this um whatever
22:22
say oh I want to use this um whatever
22:22
say oh I want to use this um whatever you know you come up with a design you
22:23
you know you come up with a design you
22:23
you know you come up with a design you know say I want to use one of these
22:25
know say I want to use one of these
22:25
know say I want to use one of these design PR whatever you can feed data to
22:28
design PR whatever you can feed data to
22:28
design PR whatever you can feed data to it it or pass it to you or let tell him
22:30
it it or pass it to you or let tell him
22:30
it it or pass it to you or let tell him know it will actually try to learn and
22:33
know it will actually try to learn and
22:33
know it will actually try to learn and write your code based on that it's very
22:36
write your code based on that it's very
22:36
write your code based on that it's very powerful to be honest more you talk to
22:39
powerful to be honest more you talk to
22:39
powerful to be honest more you talk to copilot more you teach copilot more you
22:42
copilot more you teach copilot more you
22:42
copilot more you teach copilot more you tell copilot about what you want what
22:44
tell copilot about what you want what
22:44
tell copilot about what you want what you're doing what and it's more it's
22:47
you're doing what and it's more it's
22:47
you're doing what and it's more it's going to it takes time but more it's
22:48
going to it takes time but more it's
22:49
going to it takes time but more it's going to become friendly with you it's
22:51
going to become friendly with you it's
22:51
going to become friendly with you it's like you have a junior you have a junior
22:53
like you have a junior you have a junior
22:53
like you have a junior you have a junior assistant researcher developer sitting
22:55
assistant researcher developer sitting
22:55
assistant researcher developer sitting next to you and you are giving them task
22:57
next to you and you are giving them task
22:57
next to you and you are giving them task over the time
22:59
over the time
22:59
over the time that assistant becomes more and more
23:01
that assistant becomes more and more
23:01
that assistant becomes more and more knowledgeable about your habits what you
23:03
knowledgeable about your habits what you
23:03
knowledgeable about your habits what you like what you want how do you write it's
23:05
like what you want how do you write it's
23:05
like what you want how do you write it's the same thing Co pilot can do that as
23:08
the same thing Co pilot can do that as
23:08
the same thing Co pilot can do that as well as it can bring you know content
23:10
well as it can bring you know content
23:10
well as it can bring you know content from outside you can even say oh just
23:13
from outside you can even say oh just
23:13
from outside you can even say oh just make sure you get code samples only from
23:17
make sure you get code samples only from
23:18
make sure you get code samples only from I don't know Microsoft official
23:20
I don't know Microsoft official
23:20
I don't know Microsoft official documentation or cop language syntax you
23:23
documentation or cop language syntax you
23:23
documentation or cop language syntax you whatever you tell it it will actually uh
23:26
whatever you tell it it will actually uh
23:26
whatever you tell it it will actually uh try to match that and it's a learning
23:29
try to match that and it's a learning
23:29
try to match that and it's a learning process again it's copal is New Right
23:31
process again it's copal is New Right
23:31
process again it's copal is New Right still learning this has lot of old data
23:34
still learning this has lot of old data
23:34
still learning this has lot of old data lot of GitHub data it had copy lot of C
23:37
lot of GitHub data it had copy lot of C
23:37
lot of GitHub data it had copy lot of C code C Corner code um so all it's it has
23:41
code C Corner code um so all it's it has
23:41
code C Corner code um so all it's it has all the code and from there it just goes
23:43
all the code and from there it just goes
23:43
all the code and from there it just goes and finally the code again one thing I
23:46
and finally the code again one thing I
23:46
and finally the code again one thing I want to make sure uh is a clear warning
23:48
want to make sure uh is a clear warning
23:48
want to make sure uh is a clear warning is that if if you're using some of the
23:51
is that if if you're using some of the
23:51
is that if if you're using some of the functionality that's not written
23:53
functionality that's not written
23:53
functionality that's not written publicly in the latest version of the
23:55
publicly in the latest version of the
23:55
publicly in the latest version of the latest language it may not give you the
23:58
latest language it may not give you the
23:58
latest language it may not give you the latest T code so that you have to do it
24:00
latest T code so that you have to do it
24:00
latest T code so that you have to do it manually it's it's it's going to bring
24:02
manually it's it's it's going to bring
24:03
manually it's it's it's going to bring you what's already out there written by
24:05
you what's already out there written by
24:05
you what's already out there written by other people right doesn't really write
24:07
other people right doesn't really write
24:07
other people right doesn't really write so when somebody says AI writes its own
24:09
so when somebody says AI writes its own
24:09
so when somebody says AI writes its own code J especially it's it's a false it's
24:12
code J especially it's it's a false it's
24:12
code J especially it's it's a false it's just doesn't really write what all these
24:14
just doesn't really write what all these
24:14
just doesn't really write what all these jni tools have done is is either you
24:17
jni tools have done is is either you
24:17
jni tools have done is is either you look at the copilot or look at the open
24:20
look at the copilot or look at the open
24:20
look at the copilot or look at the open AI chat you know any chatbot out there
24:24
AI chat you know any chatbot out there
24:24
AI chat you know any chatbot out there which is a j chatbot perplexity or JY
24:27
which is a j chatbot perplexity or JY
24:27
which is a j chatbot perplexity or JY what they do is they have copied all the
24:29
what they do is they have copied all the
24:29
what they do is they have copied all the content from the internet right they've
24:31
content from the internet right they've
24:31
content from the internet right they've copied all the content and then AI goes
24:34
copied all the content and then AI goes
24:34
copied all the content and then AI goes through them they tried to create from
24:37
through them they tried to create from
24:37
through them they tried to create from there learn something apply their logic
24:39
there learn something apply their logic
24:39
there learn something apply their logic but that's really is that's what it is
24:40
but that's really is that's what it is
24:40
but that's really is that's what it is but can be very helpful for things like
24:43
but can be very helpful for things like
24:43
but can be very helpful for things like we're working on like you just saw code
24:45
we're working on like you just saw code
24:45
we're working on like you just saw code refactoring code refactoring used to
24:47
refactoring code refactoring used to
24:47
refactoring code refactoring used to take a lot of time I remember you have
24:49
take a lot of time I remember you have
24:49
take a lot of time I remember you have to go through line by line try to see
24:51
to go through line by line try to see
24:51
to go through line by line try to see what developers doing now this can
24:54
what developers doing now this can
24:54
what developers doing now this can actually help you move much
24:57
actually help you move much
24:57
actually help you move much faster with
24:59
faster with
24:59
faster with pisol van welcome to the show um yeah so
25:02
pisol van welcome to the show um yeah so
25:02
pisol van welcome to the show um yeah so no worries you're late next time no
25:04
no worries you're late next time no
25:04
no worries you're late next time no worri this video will be recorded and
25:07
worri this video will be recorded and
25:07
worri this video will be recorded and available on cop.com and YouTube channel
25:09
available on cop.com and YouTube channel
25:09
available on cop.com and YouTube channel you can watch it there but I hope you
25:11
you can watch it there but I hope you
25:11
you can watch it there but I hope you learned something today um again I will
25:14
learned something today um again I will
25:14
learned something today um again I will see you next week same time for another
25:17
see you next week same time for another
25:17
see you next week same time for another episode of uh of copilot and I think
25:21
episode of uh of copilot and I think
25:21
episode of uh of copilot and I think next episode we will cover what are we
25:23
next episode we will cover what are we
25:23
next episode we will cover what are we covering guys let me see next episode is
25:26
covering guys let me see next episode is
25:26
covering guys let me see next episode is unit testing I think so we'll cover one
25:28
unit testing I think so we'll cover one
25:28
unit testing I think so we'll cover one more
25:28
more
25:29
more feature what you can do with copal thank
25:31
feature what you can do with copal thank
25:31
feature what you can do with copal thank you all
25:33
you all
25:33
you all [Music]