Your Code Was Never that Good Anyway
Вставка
- Опубліковано 10 жов 2024
- Become a YT Members to get extra perks!
www.youtube.co...
My Products
🎥 Video Crafter: thevideocrafte...
💀 Scary Story Generator: scarystorygene...
🏗️ WDC StarterKit: wdcstarterkit.com
📖 ProjectPlannerAI: projectplanner...
🤖 IconGeneratorAI: icongeneratora...
Useful Links
💬 Discord: / discord
🔔 Newsletter: newsletter.web...
📁 GitHub: github.com/web...
📺 Twitch: / webdevcody
🤖 Website: webdevcody.com
🐦 Twitter: / webdevcody
You’re doing great sweetheart (said in Kris Jenner voice)
he thanks Beyonce for this
@@Offiziersmesser it is Beyonces internet after all so that makes sense lol
Maybe I’m living under a rock but I feel like 90% of AI programming stuff I see is webdev focused (as you briefly touched on). I wonder how effective it’s been for devs in other fields.
I think it benefits web more simply because the ubiquity of javascript code, and the fact that a lot of web projects necessitate very similar redundant code. ( forms, ui components, etc.).
At lower levels, when you have to be concerned with memory and things are more error prone, llms don't benefit as much. Languages like C allow you avoid all costly abstractions and produce really fast code. Some of this code might be considered unsafe if you don't have context with how it's used. Using llms in this context can still be beneficial, but it requires more careful reading of the generated code.
I work in the Salesforce ecosystem and most of the AI code generated is simply wrong (using methods / functions that don't exist)
When I built a few things using v0 I was blown away. For main stream programming languages (js, ts, python maybe) I think AI is amazing. For niche scenarios, there is just not enough data imo
Did you try feeding the sale force docs into your Ilm before you ask questions?
@@WebDevCody I have used tools that are trained on SF docs and it doesn't help
I also think that the SF documentation is very bad which doesn't help
First non wife😅
@@elameend hahahahahaha good job!
😂 i didn't know he has publicly recognized lovers
@@serge8085:)
@@serge8085 apparently we are becoming a harem lol we need matching shirts or something.
When I think about "AI Slop" I think about these automated bots that come up with ideas and generate everything and post constantly in hope of something making numbers. For example, Facebook pages that generate hundreds of images of kids in Africa building some crazy robot with only bottles or fruits and having a caption "Why pictures like these never trend????", also pictures of soldiers asking for like because it's their birthday or something like that, most of them are just posted with no human review, great majority you can see misspelling of text or some other element clearly wrong that could be fixed just by regenerating the image. There is so many of these that started to become annoying.
No way AI giving sloppy, where can i get those?
You're not sure why people are against AI? I mean that's easy to say when you're employed and you have 238k subs so I don't think this will be affecting you. But for example new people coming into the industry is going to affect them massively. Like with any sort of technology it decreases the amount of people needed for the job. So if a software company had 50 SE, they can probably cut to around 10 then maybe in a few years 5... Same goes for the image generation - are you not thinking of all the photographers, designers etc that this will destroy? Overall this will have a massive effect on society and it will eventually destroy the middle class.
It will turn everyone very lazy and they will go from software engineers to prompt engineers.
I guess we’ll all eventually need a universal income
Where were you when the horse was replaced by the automobile?
The lumberjack Axe was replaced by the chainsaw?
The phone booths were replaced by cell phones?
The typewriters were replaced by computers?
The grocers were replaced by self check outs?
People just pivot. The ones that are in the field either get on board with the new trend or find a new profession.
Wish you the best finding your passion in the evolving world.
@@Vermino Every point you just made is individual inventions / professions that were made at different points in history.
The major difference to A.I is the fact that it's an industrial revolution and is going to affect most white-collar jobs.
Realistically the only jobs that are safe will be trades, so what you're basically saying is everyone to pivot towards trades? So we will have a ridiculous amount of plumbers begging for work?
@oksdoksaodkad Like I said, I wish you the best in the evolving world.
It's just the nature of the universe man, change. 😄
Same for Claude Sonnet, great output analyzing text docs, etc.
My take is, use AI for the boring stuff where you just want to make money and get it done with.
But if you enjoy writing code or writing stories, taking pictures or videos, you should use AI at most as a tool for inspiration.
That was a balanced view. I tried using it with a compiler and it was totally lost. I am better off writing the code myself.
I'm using Cursor as well and can't live without the auto-completion anymore, helps so much with the boring part of the job. As for the code generation, I'm using it to generate code and always tweaking it, helps a lot with boilerplate code.
I feel for certain tasks it’s great (simple UI, SQL, using libraries that don’t change much) and works wonders when you have to learn or ideate, but for refactoring chunks in a mid to large sized codebase I find it to be garbage still despite my heavy optimism for this technology
It's a cope. AI is pretty good and is gonna just become better. The truth is that programmers like to program. Becoming a code reviewer for a buggy AI is not fun and not why people went into programming. And once AI starts to produce better code than the average or even an elite programmer can, that's gonna be super impressive but again no fun for the typical coders who went into it because they enjoy tinkering with code and solving problems. It's not like those people will suddenly become "founders" with the help of AI, despite claims to the contrary. A person who likes to optimize memory management is not gonna be coming up with the new awesome app idea. These are different skills and interests. People just want to stay relevant and they like to imagine that AI is bad and always will be to feel secure.
What keyboard and switches do you use? It sounds so good
Klack app
@@WebDevCody Haha! That's hilarious - it's so satisfying
Hear, hear. AI is here to stay get used to it, learn to use it to your advantage.
Which API is he using for image generation?
Replicate
I've been testing out using AI for web development coding... It's awesome but it can't do everything. Right now I'm stuck on some code that AI just can't figure out how to fix it.
that's when you hire me
@@WebDevCody lol
Hey are you still developing everything in Go + HTMX or did you go back to Next?
I dropped htmx after 3 weeks
Sometimes I put tasks from interviews and it cant correctly resolve it. I have to learn to resolve it myself
nice thumbnail Cody
Thanks man
For JavaScript it works ok. But I have been following your Go implementations and I can guarantee you that's not how most Go devs write production code.
As far as web dev is concerned, I think AI is awesome in the short term but a disaster waiting to happen in the long term. Not to be too philosophical here but at this point of time, you have to know coding before you delve into AI and prompt it however you want to which is awesome; however, in the long run, this lazy approach of just prompting AI to do stuff faster will just erode the fundamental requirement of knowing how to code as a prerequisite
just like calculators made people not know math, or maybe it's more complex than that
if you don't know stuff and use AI, things will break, which will prompt you to learn about some topic you're trying to achieve anyway
Agreed. There are way too many developers who will pay money to unlearn basic skills. If you don't use it, you lose it. God knows what the industry looks like in 10 years.
@@punishedbarca761 Basically, much stricter interviews and huge salary bands for someone remotely competent.
FYI, for better AI writing, you should always give it an author or publisher to emulate. After all, it was trained on the entirety of human literature, and needs a target style to focus on.
that's a good point, too bad I don't know any authors because I don't read in real life
There is a video from Primagen that resonates how I feel about AI. I hate it because its not good, thats first. It generates stupid stuff all the time. Second reason is that I want to be competent developer. How else are you supposed to write good code if you use AI that is creating code fully from internet mediocrity? Also, since its based on regression curve, its bound to suck eventually no matter how hard they try to refine it, you might as well learn to code properly.
Dude have you tried 4o, it has a better "thinking" capability. Ai programming shines in two aspects for me
UI : giving an image and context and well structured prompting (break your sentences like you would to someone who speaks very literal)
Certain logic : refactoring or asking for how would it solve a particular very niche piece of problem like, how would you filter a list based on some parameter, (you get what i mean)
yeah I use 4o when I use the API, and I think chatGPT uses it by default now right?
@@WebDevCody am thinking of the other one, i forgot its name, the one that takes slightly longer
@@omomer3506o1 is the new one that takes lonģer
Most of the problems with AI for code can be adjusted for with prompting. Providing more context to the AI is key; be sure to submit/reindex your codebase regularly, add latest docs for the languages/frameworks/modules you're working with. Use rules presets to help provide this stuff with every prompt automatically. It's not perfect, but it saves time if done right. I do agree that occasionally it can get ugly, you can get caught in a loop with the AI breaking the same thing over and over. In those cases, I've found it helpful to start over. Rethink how you're prompting, it's not working for some reason, try a different angle. Be sure to commit often, work in chunks, use good natural programming practices. Overall, it's just another tool in the toolbox. For DIY SaaS people that can't hire a team to work on the latest project, it's a great boost in productivity.
For sure, all great points. Sometimes I feel like that people hating on AI just haven’t learned how to properly provide the context and frame their questions so that the LLM can properly answer it.
AI sloppy toppy with a twist
dayum
Hey Cody. Ain’t you afraid that you learn less as ai does most of the heavy lifting?
I’ve been using AI for a good 2 years now. I feel that not having that struggle to make my code work, because copilot or any other tool made most of it for me, is starting to somehow atrophy my coding brain 😂. I’ve been trying to do some leet code lately and I feel like I’m considerably worse than I used to be. What are your thoughts on that?
I have been coding professionally for 11 years now and I reached the point where I honestly don’t wanna code that much. I’d rather design at a high-level and let something else whether that’s AI junior or mid engineer implement the thing that I need I don’t think using AI is gonna help me unlearn all the coding. I’ve done over the past 11 years And if I needed to learn how to do it again I feel like it would take me a week to get back into the swing of things.
@@WebDevCodyyeah. That’s the point I’ve seen most senior level developers making about AI usage. And to be honest it seems a fair one. Thanks
When are you quiting the job cody?
When I get primegen level of views which means never
The FE you showed clearly sucks though.. it looks like slop.
AI slop if you don't know how to guide it well probably
Of course ai is helpful, people who are oposed by it or still says its slop and not helpfull i think they are just scared of loosing their simple job of changing button from red to blue in 3 business days...
cmon, that'll at least be 2 sprints worth of work
AI is still crap for rust I get things done faster going through the documentation
Have you tried feeding the rust documentation as context and then asking the LLM your questions?
@@WebDevCody Unfortunately it's not trained good enough to understand the documentation.
or just learn to write a story or hire an illustrator instead of trying to get machines to do "good enough" creative work
Great perspective. I feel that too. There are just way too many self-entitled, stagnant devs or even some wannabe tech entrepreneurs who don't even consider using AI to get things moving faster and, in most cases, even better since... some people's code aren't even that good anyway haha
hundreds of legacy systems build by humans with tons of tech debt, but no AI is BAD
As far as visuals and creative things. AI is slop the same way the latest marvel movies are. Uninspired generic and unoriginal.
But they are unoriginal uninspired and just CGI, I don't agree the comparison. Or you think that AI is slop ?
i think ai make me more productive
Lazy articles, posts, and videos where all the content is just gpt text or AI images (actual slop) have ruined a lot of the goodwill I have towards content using these tools. Also I've seen lot of obnoxious tech people online showcasing these tools in bad faith and putting down creatives (artists, designers, etc) so I choose not to use them. As for products, if I see an AI image instead a real one I'll assume shortcuts are being made in other places too. If you're using AI as a solo dev it's understandable, the picture you showcased didn't look bad and being able to prompt for specific results is cool, but it still has a soulless pixel-perfect AI look about it. I don't like AI content but AI code generation is fine to me because realistically devs have been copy/pasting bad code from google for the past decade anyway.
Fair take
In my opinion code reviewing is the most boring part of being a professional dev, and thats basically what you are doing now. I don't wanna do that.
It’s faster to read code than to write it
"Build a saas is 10 minutes." Those videos are slop and ruining the internet. The way you use AI in your projects is similar to how I use it also and it produces good code at record speeds. (If you know how to prompt)
But haters gonna hate 😎
The only thing is, my clients are spoiled and have an unrealistic idea of how long it take to development features lol... my fault I guess 😂
First!!!
people are genuinely scared about ai 😂😂 that’s why they fight it so hard and try to mock it
Still think is an exageraction. AI could take your job? Yeah, maybe.
But pretty sure we are gonna have that discussion each time we have a new tech that can automate a task.
@@neociber24 I don’t think today’s AI can be reduced to just “automation.” Currently, it creates designs, drawings, music, and even code. some argue that it’s “slop”, Sure give it a couple of years and we’ll see.
For example, consider the progression from GPT-3.5 to GPT-4 to o1 in just 2 years. The differences between these iterations are massive, I think people should adapt to the situation if they wanna stay in the game …
@@neociber24 For example cashiers at the supermarket, before self-checkouts the supermarkets would have 20 - 30 cashiers at a time, now since self-checkouts they can have 3 - 4. Now when you compare it to A.I (which is an industrial revolution) do you not realise that it won't necessarily take every software engineering job but it will take a lot and companies that had 50 SE can now survive with just employing 5 - 10.
@@oksdoksaodkad yes and just like the supermarkets and the McDonalds, the tech will break down and 5 people will be forced to do the work of 20 for no additional pay. This is objectively a detriment to everyone but the guy who owns the business and a big reason why people don't want their coworkers replaced by a robot because corporate read a medium article.
@@punishedbarca761 Yes I agree. People don't realise how bad this is going to be for society... "A.I will create jobs" 🤣🤣🤣 delusional. The only thing that will happen is the rich will get richer and the poor will get poorer - destruction of the middle class.