>get code from chatgpt and analyze it
>dont understand it
>change the name of variables to make it make more sense
>write down on a piece of paper step by step the change of value in variables and how loops progress
>reach last step
>makes no sense, doesn't work
>check original code again
>It works
>I changed a "<=" for "<" by mistake
>Spent an hour thinking I was understanding the code, when it was wrong all along and now it doesnt make sense with the actual solution
I'm ending myself
>using chat gpt for your code
yes, commiting kys might be a good idea here
What am I supposed to do if I literally cannot come up with a solution? The code it provided was fine, it was literally user error
Using chatgpt in this case is no different than asking a college or professor
>What am I supposed to do if I literally cannot come up with a solution?
work your algorythmics, kiddo
you can do that by solving classical problems, and broadening your general culture.
the latter part is bc general knowledge improves lateral thinking
chat gpt never provides you with an answer.
it provide you with something that LOOKS like an answer.
its not good enough for coding.
dont listen to this boomer hahaha hes afraid of you zoomers using chatgpt for a month and making same paycheck as he
im pretty safe on that front.
you dont get paid for "hello world"'s
he literally said the code works retard, you can't just assert that it doesn't because you wish that was the case
>seeing things
i think your opinion can be safely ignored
>kiddo
>google your problems
>im a nocoder : the post
hello angry homosexual
im happy you stopped posting frogs, it got old pretty quick
>copying code from google results
🙁
>copying code from MLtard after it copied code from google results and made them uncompilable
:O
>classical problems
i mean recursive solution to fibonnaci
write a 2.5d wolfenstein clone
this kind of jazz.
shake the jar to see what will happen.
Anon, literally fucking google your problem. 99.999999% chance there is a stackoverflow post with solution.
I tried but chatgpt was the same without having to find the actual post and just giving me the answer directly. what's the difference between googling and chatgpt?
I do want to get better at figuring things out on my own, I did fine when it was simple stuff but as it gets harder my brain gives up
I will try to find problems and solving them you're right I do need to grind this shit to actually improve
>I will try to find problems and solving them you're right I do need to grind this shit to actually improve
yeah, the brain is a muscle.
dont listen to people who say something is out of your reach
but dont expect to understand everything at once overnight either
a good methodology in learning/training is key.
first you will learn your strengths and limitations, then you will learn to be effecttive with your resources and finally you will learn how to go around said limits
with a winner's attitude, youre gonna make it
Thanks for the advice and encouragement anon
youre welcome
Also I swear to God I'm doing my best to understand everything about whatever code I get or find, I might not come up with it but I break it down and internalize it, it's not the best method to learn for sure but can't be that bad?
formal cs studies is always best bc you get to learn a curated package, in a proper order
short of that you might try your luck with reputed courses.
i tried edx.com for finances. its decent. not perfect, but decent.
a friend of mine became data scientist with their courses, so it cant be bad in CS subjects
as self taught, one problem i often faced was that i chose subjects that are too complicated for my then-level of knowledge, which made learning painful and ineffective.
you might also try the personal project route.
pick something that will make you use a variety of techniques, like a wolfenstein clone in C or C++, then ask your way through it.
when you ask someone they have to do all the job of compiling and then presenting their knowledge to you. so dont be afraid to be wrong, and hear an insult here and there, if it makes your learning easier and more effective
i like that wolfenstein subject bc if you render in your cpu you have to produce decent code to keep your fps high.
that was the occasion where i internalized jump tables, and branchless in general
also i played around with memory bc i had to have an internal representation of the game and its assets, and render the right one at the right place.
but that example works for C-craft. If you want to go into other subjects, pick accordingly.
jump tables and binary operations wont be very useful in high level environments like front end webdev.
they will add to your lateral thinking capacity, but it is something you want to build up in the long term, and it isnt very useful without core knowledge
Chatgpt not always gives you working and applicable results, which is not great if you can'tunderstand what code does. It is better with stackoverflow because you can see if problem description matches your problem and working solution for it you can simply copy paste
i really fucking hate this trend of having multiple things named the same
classes and variables and all the other shit being named the same in loops is fucking retarded
how about a follow up prompt like "this looks good but I need help understanding it. Can you explain what this is doing step by step?"
It's really good at that.