I once gave it a raw sql query (a complex one, with subqeries and joins), and asked to convert it to Query builder. It did very well, tbh. Even optimized it
I am playing with ChatGPT for several weeks already and If you instruct it proper commands it will definitelly save your time. You should also try second, third and fourth iterations and finally you will get what you want. It's like a developer with good knowledge, but as it happens often due to miscommunication the developer creates something which we did not ask for.
Here are my pros and cons so far: Pros: 1. Excellent bug fixing in most cases, helped solved bugs that would have probably taken myself hours. 2. I can ask it to explain every code, and it does so perfectly. I can endlessly ask more questions until I understand, which is nice. 3. It can act like my coach: every so often I ask it "How am I able to make a relationship between X and Y?", and it helps me come to a conclusion of the best way to tackle a problem 4. Overall, it saves me a lot of Google searching and clicking, reading etc. Cons: 1. Outdated data: the data is from January 1st, 2021. This hasn't been a problem for me so far, but I can imagine if you want to ask any recent information, it will struggle. 2. The pricing, $42 is really on the borderline for me, but I still think it's worth it. The price is almost certainly to go down because of competition soon. 3. It's too easy to become lazy with it, it can do most of the work for you. I have to remind myself to always understand the code entirely first, before copy and pasting.
Tried to generate Alpinejs code but it was all outdated code. That was a big turnoff. But it did pretty well to explain some lines of code that was copy pasted.
For sure it depends on your needs of ChatGPT. If you want to use it only for generating basic code then it might be expensive but if you use it to help you generate some content for a course or some writings then 42$ will be cheap for how much time it will save you.
i use chatgpt very often not specifically for Laravel but for programming in general. chatgpt will not replace programmer's job for a very long time as AI is not "thinking" conceptually just provides kind of code snippets or hints like stackoverflow does. Putting them together is programmer's job
As an addendum, ask it to generate tests for the controller. Edit: I got full Controller and model classes from the first request, including routes and views.
It is nice when explaining some core features, that takes some time to research. And when it shows old code, just ask it for latest version and different approach. For some things it does not answer correctly, but leads you into correct direction to research it. Let's be hones, if it could write a fully wokring code, where would we be then.. :D
Hi. Some of my colleagues are worried about the use of ChatGPT . I believe that ChatGPT can be a very good tool for programmers. With the development of this tool, it will save a lot of time.
I think it's worth it when you haven't a lot of experience in coding, juniors should absolutely buy it if they planned to create an app. And enterprise should buy a licence to every juniors devs. I saved so much time.
I mostly use it for debugging as a tool, you’d still be responsible for the end product as a developer after all so just copy pasting from gpt isn’t what it should be used for. Also good for small projects to learn new things from :)
In my opinion it's just a matter or time/money. Using ChatGPT can save you, let's say, two hours of developing per month? It's just an example, the time would depend on your hour rate. I say it would probably. Only getting the good answer for a critical (and short) bug can save you that time. We all know how difficult can be to find the right way to solve a problem if we are tired or we are not in the mood or whatever comes into your way to "enlightenment" that day 🙂
$42 🤐id rather pay for my meals in Kenya and code using my old methods .That is too high ..they should consider regions before settling down on a price .Some economies makes it hard to get a free $42
For this case, I would certainly use a Laravel CRUD generator and then refactor the code with industry standards and my point of view. I would have used chatGPT for other use cases. Regarding the job uncertainly, I am very anxious about it. But, from my point of view, I think I should study more and embrace AI power. But, now both chatGPT and github copilot is not free. I am not sure how long I will be able to embrace it without paying.
I'm solo dev currently, so for those days you are not inspired or you got an issue, it helps me a lot. Said that, I don't think it worth the 42$/m they pretend. We all know that when a service start with a price, years later increase, so those 42$ are a starting point to grow to, who knows, 60$? P.S: I also use it for cooking recipes and I'm not good at cooking, but I made good stuff with its help xD
I used it for a tiny project. It creates properly JsonResources, Form Request Validations, controllers, migrations, model, even it generates Unit tests and Integrations test. It also was able to create relationship in the model how I request it. I tested it creating only one repository pattern and it was able to. It was able to suggest changes in AppServiceProvider, boot method for model. It created seed for me, but I had to introduce some changes in faker or factory. It was able to work with Blade properly. Also I had some problems with Sanctum authentication, specially with the Delete method. I guess, it saved me 15-20% of writting time, because in some scenarios I had to interact with it, and said things like: I don't like this, change this and follow this rule. The annoying thing it's maybe it writes a lot of bullshit, no only code, it starts to write explanaitions. It would be nice for juniors, but it is a bit annoying for senior developers. Would I use it again? Yes! I don't know if I will pay the 42$ because the unnecesary explanaition.
January 1st, 2021. Not 2017. Since it's still in it's infancy, the date is likely to become a lot closer to the present. It needs a steady dataset right now.
The price is two high. Secondly we can not expect the exact behavior from it all the time. It sometimes can't understand the problem do not return any result, It will lag while solving bigger problems. Overall it is not gonna compete with humans.
From my experience after using it since public release, I found it too dumb to be of any use. Giving the correct answer only 1/5th of time isn't worth $40/mo imo. Though it fares well when beginning a project from scratch, helping you debugging or updating your existing code is an different story
If you know what you're doing at if you know what to ask it can be really useful! In other fields it is even more useful, I usually use it to create cover letters, emails and related stuff.
@@juljoshahini2407 if you know all that why do you need it? Writing code isn't very time demanding most likely you already have lots of custom helpers to help with your task. I never used spacy so decided to let chatGPT lead me it didn't explained me correctly how to install it, how to train it. Just constantly gave me bad code snippets. I use copilot and even though I rarely use functions that it generates me but it does help a lot with ts types definition and other small things. I'm sure chatGPT can do the same but with copilot I don't need to give it context copilot already has it so copilot is much better for coding. But it would be cool to have chatGPT voice assistant.
@@Xjuijau I mean you have to give detailed descriptions of what you're trying to achieve. You need to have a decent knowledge to use it better. I remember a while ago I was trying to run a project with docker ( simple stuff I know) but since I didn't have experience took me a bit. I tried using ChatGPT to give me instructions, they weren't necessarily wrong but they didn't help me run the project either as I had no idea how to ask. Read the documentation and figured it out myself, then I tested ChatGPT again, this time I was asking the proper questions and it gave me proper answers.
@@juljoshahini2407 and that's exactly my point after all that it's pretty much useless because you already can write code yourself. And it will hardly be any faster most of the time slower. Not to mention in real word you have coding standards, DRY and etc. ChatGPT for coding is only usefull to cringe youtubers who pee their pants when it generates CRUD which takes like 30 seconds to write on your own.
i asked for this "generate laravel crud for model posts, use resource controller with route model binding" it generated full controller, and also gave me web.php routes, not resource route tho
I would pay half the price maybe, or ask the company to pay for it if I really need it. Besides I got copilot installed so I’ll manage with that portion of AI fueled coding
I have checked, i have to tell chatGPT many times, if this code is wrong. And gpt apologize for wring code. So in this scenario, if chatGpt provide me a wrong and i don't know much about that thing then i may use wrong code..
At first sight it is impressive. isn't it just like a Google. Chatgpt just make several requests to "Google" or own DB and give you results, and of course you have to make "correct" query to get more accurate results isn't it a Google with different interface
We are experiencing the same moment as 1st computer was built. People are confused and lost about this AI technology. Within the next year, this hype will cool down and settle, then this will become just another tool we use every day like a calculator.
I personally am a bit against developers using this as a helper, because the better it becomes, the lazier the developer. We're lazy by nature, we love when the solution of "how to use JWT" is the perfect explination in the first stackoverflow result of our google search. I do want to see how far it can be pushed, but to use it for code that I can write or spend a day looking into is a no to me. Might be faster, might be better, but it will impact our analytical skills a lot. Can be useful for juniors so they don't interupt their peers so much, but then again - a human explaining a subject is a lot more influencial than a robot doing so
It generates code from online articles, i asked chat gpt and then search online, i dound FULL same code on that article. I already quit chat gpt.. I just asked little help from chat gpt
Chapgpt also said that i m just a helper, if you spend 42$ and totally rely on chatgpt to do your work and you ll go for vacation in hope to takecare your job by chatgpt then you ll lose not only 42$ but more than dat even job lmao
From my experience it was pretty mediocre. I cant think of replacing even a junior developer with this tool. It is a tool that might help you write your code faster and that's it. You have to give it too much details and instructions for it to make something complete. And you have to thoroughly review and test resulting code, otherwise you'll get bugs that you wouldn't be able to understand quickly. I had to tell ChatGPT that it made mistake after every single response when i tested it on real world case. And i needed only a single function. Because it doesn't posess any intellect it can't understand that some of responses are incorrect and makes no sense. Some devs do it too, apparenlty. But it's easier to mentor a junior dev than explain ChatGPT that it should check if it's reply even makes sense. Also big con that can't be fixed fast - it will always be at least a little bit outdated. It has to learn new tools. And if you need few examples and some docs to start using tool, it needs a lot of examples.
Hum. to use this tools you really need to have skills before using this. Sometime it generates codes with errors and un-optimized code. But if you give it the right questions and give it the good data it can saves you a lot of time.
I once gave it a raw sql query (a complex one, with subqeries and joins), and asked to convert it to Query builder. It did very well, tbh. Even optimized it
I am playing with ChatGPT for several weeks already and If you instruct it proper commands it will definitelly save your time. You should also try second, third and fourth iterations and finally you will get what you want.
It's like a developer with good knowledge, but as it happens often due to miscommunication the developer creates something which we did not ask for.
Here are my pros and cons so far:
Pros:
1. Excellent bug fixing in most cases, helped solved bugs that would have probably taken myself hours.
2. I can ask it to explain every code, and it does so perfectly. I can endlessly ask more questions until I understand, which is nice.
3. It can act like my coach: every so often I ask it "How am I able to make a relationship between X and Y?", and it helps me come to a conclusion of the best way to tackle a problem
4. Overall, it saves me a lot of Google searching and clicking, reading etc.
Cons:
1. Outdated data: the data is from January 1st, 2021. This hasn't been a problem for me so far, but I can imagine if you want to ask any recent information, it will struggle.
2. The pricing, $42 is really on the borderline for me, but I still think it's worth it. The price is almost certainly to go down because of competition soon.
3. It's too easy to become lazy with it, it can do most of the work for you. I have to remind myself to always understand the code entirely first, before copy and pasting.
Tried to generate Alpinejs code but it was all outdated code. That was a big turnoff. But it did pretty well to explain some lines of code that was copy pasted.
I think it is great that it explains all the steps
For sure it depends on your needs of ChatGPT. If you want to use it only for generating basic code then it might be expensive but if you use it to help you generate some content for a course or some writings then 42$ will be cheap for how much time it will save you.
Good morning, thanks for effort 😊
i use chatgpt very often not specifically for Laravel but for programming in general. chatgpt will not replace programmer's job for a very long time as AI is not "thinking" conceptually just provides kind of code snippets or hints like stackoverflow does. Putting them together is programmer's job
As an addendum, ask it to generate tests for the controller.
Edit: I got full Controller and model classes from the first request, including routes and views.
I use it on a daily basis, very useful
It is nice when explaining some core features, that takes some time to research. And when it shows old code, just ask it for latest version and different approach. For some things it does not answer correctly, but leads you into correct direction to research it. Let's be hones, if it could write a fully wokring code, where would we be then.. :D
I pay $10 for CoPilot and i'm very happy with the results.
Hi. Some of my colleagues are worried about the use of ChatGPT . I believe that ChatGPT can be a very good tool for programmers. With the development of this tool, it will save a lot of time.
Sometimes asking a good and precise question is more difficult than coming up with the answer.
I see many people struggling to query Google.
€42/mo is pretty good price for a junior dev which ChatGPT is at the moment. In my company we use it for minor tasks
I think it's worth it when you haven't a lot of experience in coding, juniors should absolutely buy it if they planned to create an app. And enterprise should buy a licence to every juniors devs. I saved so much time.
I mostly use it for debugging as a tool, you’d still be responsible for the end product as a developer after all so just copy pasting from gpt isn’t what it should be used for. Also good for small projects to learn new things from :)
In my opinion it's just a matter or time/money. Using ChatGPT can save you, let's say, two hours of developing per month? It's just an example, the time would depend on your hour rate.
I say it would probably. Only getting the good answer for a critical (and short) bug can save you that time. We all know how difficult can be to find the right way to solve a problem if we are tired or we are not in the mood or whatever comes into your way to "enlightenment" that day 🙂
I've used it to figure out how to do eloquent relations for project based roles, it ended up working
thanks for demonstrate that.
I think price is so high
$42 🤐id rather pay for my meals in Kenya and code using my old methods .That is too high ..they should consider regions before settling down on a price .Some economies makes it hard to get a free $42
All AI tools solve the HOW problems, we're safe as long we can adapt and keep the WHY knowledge.
Why?
would be interesting to see what IA can do to spit out dummy database seeders, for making webshops and blog posting and such, with full ERD diagrams.
every start changing the career :D :D
Hi. Is it possible to make multi theme to existing laravel app?
For this case, I would certainly use a Laravel CRUD generator and then refactor the code with industry standards and my point of view. I would have used chatGPT for other use cases.
Regarding the job uncertainly, I am very anxious about it. But, from my point of view, I think I should study more and embrace AI power. But, now both chatGPT and github copilot is not free. I am not sure how long I will be able to embrace it without paying.
Co-pilot laravel is Great!
Mr.Korop would you teach us the new Laravel 9.42 with Route::Singleton
I'm solo dev currently, so for those days you are not inspired or you got an issue, it helps me a lot.
Said that, I don't think it worth the 42$/m they pretend. We all know that when a service start with a price, years later increase, so those 42$ are a starting point to grow to, who knows, 60$?
P.S: I also use it for cooking recipes and I'm not good at cooking, but I made good stuff with its help xD
I used it for a tiny project.
It creates properly JsonResources, Form Request Validations, controllers, migrations, model, even it generates Unit tests and Integrations test. It also was able to create relationship in the model how I request it. I tested it creating only one repository pattern and it was able to. It was able to suggest changes in AppServiceProvider, boot method for model. It created seed for me, but I had to introduce some changes in faker or factory. It was able to work with Blade properly.
Also I had some problems with Sanctum authentication, specially with the Delete method.
I guess, it saved me 15-20% of writting time, because in some scenarios I had to interact with it, and said things like:
I don't like this, change this and follow this rule.
The annoying thing it's maybe it writes a lot of bullshit, no only code, it starts to write explanaitions. It would be nice for juniors, but it is a bit annoying for senior developers.
Would I use it again? Yes! I don't know if I will pay the 42$ because the unnecesary explanaition.
Maybe you can ask to not add explaination of code
@@cogisbro I tried, but ChatGPT is very verbose. lol
@@rafaelbenitoperezgonzalez4071 "can you shorten this code"
apparently ChatGPT use the data from around 2017', so that make sense if ChatGPT using older syntax for generating the codes
January 1st, 2021. Not 2017. Since it's still in it's infancy, the date is likely to become a lot closer to the present. It needs a steady dataset right now.
@@LAKD idk, the AI itself told me that their data trainings is taken from 2017, and they don't really understand about the newest technology
The price is two high.
Secondly we can not expect the exact behavior from it all the time.
It sometimes can't understand the problem do not return any result,
It will lag while solving bigger problems.
Overall it is not gonna compete with humans.
I use it convert Laravel code to AdonisJS. Some of it works but not all.
From my experience after using it since public release, I found it too dumb to be of any use. Giving the correct answer only 1/5th of time isn't worth $40/mo imo. Though it fares well when beginning a project from scratch, helping you debugging or updating your existing code is an different story
If you know what you're doing at if you know what to ask it can be really useful! In other fields it is even more useful, I usually use it to create cover letters, emails and related stuff.
@@juljoshahini2407 if you know all that why do you need it? Writing code isn't very time demanding most likely you already have lots of custom helpers to help with your task.
I never used spacy so decided to let chatGPT lead me it didn't explained me correctly how to install it, how to train it. Just constantly gave me bad code snippets.
I use copilot and even though I rarely use functions that it generates me but it does help a lot with ts types definition and other small things. I'm sure chatGPT can do the same but with copilot I don't need to give it context copilot already has it so copilot is much better for coding.
But it would be cool to have chatGPT voice assistant.
@@Xjuijau I mean you have to give detailed descriptions of what you're trying to achieve. You need to have a decent knowledge to use it better. I remember a while ago I was trying to run a project with docker ( simple stuff I know) but since I didn't have experience took me a bit. I tried using ChatGPT to give me instructions, they weren't necessarily wrong but they didn't help me run the project either as I had no idea how to ask. Read the documentation and figured it out myself, then I tested ChatGPT again, this time I was asking the proper questions and it gave me proper answers.
@@juljoshahini2407 and that's exactly my point after all that it's pretty much useless because you already can write code yourself. And it will hardly be any faster most of the time slower.
Not to mention in real word you have coding standards, DRY and etc. ChatGPT for coding is only usefull to cringe youtubers who pee their pants when it generates CRUD which takes like 30 seconds to write on your own.
It is amazing that ai can generate good examples.
i asked for this "generate laravel crud for model posts, use resource controller with route model binding"
it generated full controller, and also gave me web.php routes, not resource route tho
I would pay half the price maybe, or ask the company to pay for it if I really need it. Besides I got copilot installed so I’ll manage with that portion of AI fueled coding
I have checked, i have to tell chatGPT many times, if this code is wrong. And gpt apologize for wring code. So in this scenario, if chatGpt provide me a wrong and i don't know much about that thing then i may use wrong code..
At first sight it is impressive. isn't it just like a Google. Chatgpt just make several requests to "Google" or own DB and give you results, and of course you have to make "correct" query to get more accurate results isn't it a Google with different interface
what is your own crud
QuickAdminPanel.com
git copilot is charging $10 per user its also high
I think you can easily get 10$ of value from it every month
We are experiencing the same moment as 1st computer was built. People are confused and lost about this AI technology. Within the next year, this hype will cool down and settle, then this will become just another tool we use every day like a calculator.
Please post video about laravel/websockets implementation in API
I'm planning a premium article on laraveldaily.com about Soketi, in a week or so
This guys video made it on reddit
I personally am a bit against developers using this as a helper, because the better it becomes, the lazier the developer. We're lazy by nature, we love when the solution of "how to use JWT" is the perfect explination in the first stackoverflow result of our google search.
I do want to see how far it can be pushed, but to use it for code that I can write or spend a day looking into is a no to me. Might be faster, might be better, but it will impact our analytical skills a lot.
Can be useful for juniors so they don't interupt their peers so much, but then again - a human explaining a subject is a lot more influencial than a robot doing so
It generates code from online articles, i asked chat gpt and then search online, i dound FULL same code on that article. I already quit chat gpt.. I just asked little help from chat gpt
ChatGPT is so great. It can even revise my code 😅
Chapgpt also said that i m just a helper, if you spend 42$ and totally rely on chatgpt to do your work and you ll go for vacation in hope to takecare your job by chatgpt then you ll lose not only 42$ but more than dat even job lmao
From my experience it was pretty mediocre. I cant think of replacing even a junior developer with this tool. It is a tool that might help you write your code faster and that's it. You have to give it too much details and instructions for it to make something complete. And you have to thoroughly review and test resulting code, otherwise you'll get bugs that you wouldn't be able to understand quickly. I had to tell ChatGPT that it made mistake after every single response when i tested it on real world case. And i needed only a single function. Because it doesn't posess any intellect it can't understand that some of responses are incorrect and makes no sense. Some devs do it too, apparenlty. But it's easier to mentor a junior dev than explain ChatGPT that it should check if it's reply even makes sense.
Also big con that can't be fixed fast - it will always be at least a little bit outdated. It has to learn new tools. And if you need few examples and some docs to start using tool, it needs a lot of examples.
Hum. to use this tools you really need to have skills before using this.
Sometime it generates codes with errors and un-optimized code.
But if you give it the right questions and give it the good data it can saves you a lot of time.
I think $42 is too high
Github Copilot is much cheaper
@@nemac23 Yeah I do agree with you.
And it's only for 1 month 😐
yeah I agree, but at least they introduced the price early on before we all got hooked and really dependant on it!
42 krvna zrnca, a ne dolara
How does it compare to VSCode with Copilot? Of course, chat GPT does all the other content creation stuff too but copilot is just $10/month
So, will this replace Laravel developers? Especially Begginers?
The market already replaced beginners, it's almost impossible to find a Junior dev job.