8 Mistakes Beginner Programmers Make

  Рет қаралды 24,874

Keep On Coding

Keep On Coding

Күн бұрын

Пікірлер
@KeepOnCoding
@KeepOnCoding 3 жыл бұрын
Would you like to see a part 2?
@saptarshichatterjee1085
@saptarshichatterjee1085 3 жыл бұрын
oh yeah...we definitely need part 2
@airforce1zzo3
@airforce1zzo3 3 жыл бұрын
Yes!
@loving916
@loving916 3 жыл бұрын
yes
@Amina-xu8uj
@Amina-xu8uj 3 жыл бұрын
Yeah!!
@dhruvjoag5204
@dhruvjoag5204 2 жыл бұрын
yeah
@DemetriPanici
@DemetriPanici 3 жыл бұрын
Love the overall aesthetic of your channel and setup man! Great stuff!
@KeepOnCoding
@KeepOnCoding 3 жыл бұрын
Thank you!
@pottomzola
@pottomzola 3 жыл бұрын
My suggestion would be to invest time into setting up your IDE, learning shortcuts, customize preferences, save actions etc. Can save you a lot of time and improve quality of life and code. On the other hand, it can be a pain to set it up after a wipe.
@FridayHouseXYZ
@FridayHouseXYZ 3 жыл бұрын
More IDEs need a function to export these settings. Just for this reason. One could also share a good setup to friends this way.
@bayrockdev
@bayrockdev 2 жыл бұрын
Write yourself some scripts that help setup your environment! That way you can easily deploy it on multiple machines.
@jimb6554
@jimb6554 3 жыл бұрын
For those who like to read ahead 1. Using Bad (abbreviated-non-obvious) Variable Names = Confusing/Cryptic/Less Readable 2. Not Backing up Code/not using Source Version Control/ and not pushing to a Remote Repository = Losing your Work 3. Inconsistent Formatting ("Curly Bracket on the same line convention" in one section combined w/"Curly Bracket on the next line" in another) = Confusing 4. Adding Code You "Might Need" Later but definitely not right Now = Confusing/It'll be treated as sacred & immutable by others even when still not needed 5. Getting Stuck in Tutorial H**L = You'll be Entering into an Infinite Loop while Gaining Zero Hands on Experience 6. Not testing Code Often/Periodically = Can't Find where the logical errors are located 7. Hard-coding Magic Numbers or Strings(literals) = Less Readable/can get Buggy/Hard to keep track if same value is used in multiple places 8. Commenting Out Large Blocks of Code = similar to #4 && adds clutter plus if you follow #2, you'll be able to look up what you need
@enjintft
@enjintft 3 жыл бұрын
Spot on! All mistakes I made when I started. And those things seem small but avoiding them makes you such a better developer!
@marcosotavionovais5618
@marcosotavionovais5618 3 жыл бұрын
It’s great when you notice that you don’t commit these mistakes anymore and you realize that you are evolving
@NaudVanDalen
@NaudVanDalen 3 жыл бұрын
X and Y are for math only, so if you're programming some math equations, you can use them. Otherwise I'm always specific.
@privileged6453
@privileged6453 3 жыл бұрын
The mistake I see happening often: Not using already existing libraries to do tasks. Writing your own library with exact functionality can be very useful, but if you're writing mundane functions like Logging, requests, io etc then these tasks are almost certainly available in a library that someone else has already written
@wordonice4457
@wordonice4457 3 жыл бұрын
This is so true. I remember as a young engineer, I had this obsession with proving myself to my peers and superior, and one of the ways I did that was trying to "reinvent the wheel". Stuff that I could do with a library, I preferred writing them myself so they could see how "awesome" I was. Man... Well, I'm all grown now!
@Lthe1
@Lthe1 2 жыл бұрын
number 7 actually helped me get past a mental block i was having, so thank you for that!
@Mohamed_Ismail91
@Mohamed_Ismail91 3 жыл бұрын
I like the new camera angle thing. Keep it up Sam!
@spade6774
@spade6774 3 жыл бұрын
Part 2 love your work and effort ;)
@UkFuzzyBear
@UkFuzzyBear 2 жыл бұрын
Thank you. This helped with organising my code and avoiding bad habits
@marshallross
@marshallross 3 жыл бұрын
This was great! I've watched so many of these "mistakes programmers make" videos but this one is different and specific. I really learned a few things here!
@Chicomehdii
@Chicomehdii 3 жыл бұрын
Best programming channel on KZbin currently. Always a pleasure seeing that notification in my sub box! Keep striving Sam.
@tanishtyagi1301
@tanishtyagi1301 3 жыл бұрын
definitely forget to test my code often - have been working on it over the years, but still need to work on testing WAY more often.
@TetaroSeth
@TetaroSeth 3 жыл бұрын
Great video! Awesome reminders
@iq0578
@iq0578 3 жыл бұрын
We want a part 2!
@marcalistaircoffi
@marcalistaircoffi 3 жыл бұрын
I felt attacked when you talked about turtorials, It helps me realised that I need to actually code on my own😅
@KeepOnCoding
@KeepOnCoding 3 жыл бұрын
😂
@mehtibaby
@mehtibaby 3 жыл бұрын
Keep on making these types of videos brother !
@matthewcolfer4280
@matthewcolfer4280 3 жыл бұрын
I've been programming for about a year and following your channel for most of that time and honestly videos like these are great. I'm in my first software dev role now and small videos outlining basics like this can be nice boosts to know I'm doing some of the small things right. Thanks for all the time you put into this channel, would love to see part 2!
@prsmahajan
@prsmahajan 3 жыл бұрын
We have been missing your videos since a while👀
@rhinoTube
@rhinoTube 3 жыл бұрын
Do a part two and also common coding mistakes of intermediate coders!
@Moukeaf
@Moukeaf 3 жыл бұрын
Mistake i'm currently doing and that goes into your "backing-up your code" : Not commiting enough. Commit a lot. Even if your team has some standards about commits (Squash exists), makes a lot of small commits. And when you deliver your feature, squash them into some meaningful commits. Commits should tell a story.
@Tom_Williams88
@Tom_Williams88 3 жыл бұрын
Cheers man - some good points to remember! Documenting my journey on KZbin, just posted my first programme video haha. I’m sure I’ll look back in a year and be embarrassed 😄
@hamza582
@hamza582 3 жыл бұрын
Good advice. Thanks man
@wwijsman
@wwijsman 3 жыл бұрын
Dumb mistakes I've made are making a pull request without properly testing the code, forgetting to keep my list with dependencies needed to install the software up-to-date and forgetting to commit the code when it was still working.
@hassanfarhat7604
@hassanfarhat7604 3 жыл бұрын
I'm going back to school for CS. As a beginner, I know right off the bat I caught myself trying to learn multiple languages after really only understanding the fundamentals of a single language. Example, I grasped the concepts of Python really well, and tried to jumping straight into Java right after that; EVEN knowing damn well that I still had a lot of learning and questions bc I have not mastered or written much code with Python. With that said, understanding the syntax is very different from the implementation of the language in problem solving or creating projects in code.
@uscjake868
@uscjake868 3 жыл бұрын
Funny. I did java and then python. Python was so easy that I blew through writing a basic program for it since it has a lot less syntax nuance. I have mastered nothing, but it does feel satisfying to have made a functional GUI program faster with python.
@NaudVanDalen
@NaudVanDalen 3 жыл бұрын
In the past I didn't use source control, but instead copied the entire folder every day I worked. Needless to say, it was a disaster. I couldn't check what's changed at all and it takes more space. Especially when using some large third party folder full of megabytes of stuff since my own website code is only a few dozen kb. I ended up using git to commit all of those changes later on. It was day by day based instead of issue by issue, so I either did multiple things a day or some got spread out between days. Very messy. I definitely learned from that and used git from day 1 with other projects.
@ares106
@ares106 3 жыл бұрын
part 2 Please!
@princessportsassociation
@princessportsassociation 3 жыл бұрын
Love the video, you're one of my motivation to keep on coding, but I still feel like I can't do anything tangible on my own and rely on docs or videos to give me ideas on how to implement anything, is that a bad thing and if so please can you explain how I can overcome it. With love from Nigeria.
@-Corvo_Attano
@-Corvo_Attano 2 жыл бұрын
I will rectify my mistakes thank you:)
@rainyonrecord
@rainyonrecord 2 жыл бұрын
A common mistake I have made was actually when I was doing web design for some company I would always forget to specify the main html file as index.html and yeah let’s just say this was a long term problem and I did not keep the job for long.. Edit; I moved to backend development and I’m working with c++ at the moment and it’s quite enjoyable not going to lie though I wish my company would switch to rust as it can do everything that c++ could do in our use case
@AxleWack
@AxleWack 2 жыл бұрын
Not sure its mentioned in the comments yet, but at around 7:40 (magic numbers), you could use an enum as well, which will be even better than the public variables you used in your sample code. But, I am sure you knew this, as you are not doing a tutorial :)
@bhartiwadhwa9241
@bhartiwadhwa9241 3 жыл бұрын
I knew like 30 of them and now I have been coding for a month and a half so I think that's decent
@NaudVanDalen
@NaudVanDalen 3 жыл бұрын
Sometimes I get these really long variable names because I don't know what to call it or because it looks similar to different variables. Like $users meaning the amount of users or an array with users. Luckily in that case, naming is simple and you can just add "amount" or "number" or "sum" to it and "list" or "array" to the other variable.
@reprovedcandy
@reprovedcandy 2 жыл бұрын
I feel like a big one was missed: Copy / pasting code blocks all over the place instead of converting into a function and calling the function.... I did that one a painful amount in my early coding days =/
@urban_borders_6934
@urban_borders_6934 3 жыл бұрын
Now this is quality content
@typicaloofers
@typicaloofers 2 жыл бұрын
One thing EVERY beginning developer does wrong is overestimate their future. They will be like "Oh I'mma make a competitor to Minecraft!" Then end up quitting after they try to listen to a 3 hour video of how to learn Java, C#, C++, C, but end up sleeping or something, or "Oh I'mma make this rad website, then quit after trying to learn HTML, CSS, JavaScript, and PHP. My advice is to choose what language you want to learn first, and then learn it to a point where you feel comfortable without using tutorials all the time. (Excluding intermittent google searches,) and then learn another language, and repeat the cycle.
@FridayHouseXYZ
@FridayHouseXYZ 3 жыл бұрын
I do the whole commenting out blocks of code thing until the final revision (all in arduino), but then save it to a txt file or remove entirely so the code is not so cluttered. Or if it's needed for other functions someone may need because of hardware change, I'll leave it in.
@antobenedetti6464
@antobenedetti6464 3 жыл бұрын
part 2 !
@benjamincrew1949
@benjamincrew1949 3 жыл бұрын
I always feel like I'm overly verbose with my variable naming. I don't abbreviate a lot of the time either.
@royalkumar795
@royalkumar795 3 жыл бұрын
9th mistake is Disney might copyright strike this video
@adybydy50
@adybydy50 2 жыл бұрын
My mistake which i still kind of do but not that often, is bad commit messages
@eliodrallag4806
@eliodrallag4806 3 жыл бұрын
My answer would be Leaving a lot of console.logs.
@KeepOnCoding
@KeepOnCoding 3 жыл бұрын
Good one!
@Viper40256
@Viper40256 Жыл бұрын
As a current 1st year student, the only thing I'm stuck on is I understand the logic behind the topic theoretically but have no idea of how how to implement it in code or write code that follows the logic. And the language I'm learning right now is JAVA
@LemmonTea
@LemmonTea 3 жыл бұрын
For my variable names I normally abbreviate what the variable is for.
@barackobama5867
@barackobama5867 3 жыл бұрын
I have been doing cp for a year, and its really hard, do you think I should continue or no?
@zanelindquist3689
@zanelindquist3689 3 жыл бұрын
Im kinda a noob but one I make a lot is not reading documentation.
@StarRoseAngelic
@StarRoseAngelic 2 жыл бұрын
Thank you for the helpful vid! Btw Do you work for Disney? If so can you give insight into the interview process? I feel like developers only talk about interviews when it concerns FAANG but not other companies.
@Juzzyjuzzy
@Juzzyjuzzy 2 жыл бұрын
excellent video.
@NaudVanDalen
@NaudVanDalen 3 жыл бұрын
I'd hate to have to do a handwritten code interview. I'm so bad and slow with writing because I barely write anything with pen. Typing is 10 times faster and it's what we all use to code anyway.
@chunkymonkey2285
@chunkymonkey2285 3 жыл бұрын
what is an efficient way to put my coding skills to practice, in order to get better?
@yd742
@yd742 2 жыл бұрын
part 2 please
@saumilagarwal9420
@saumilagarwal9420 3 жыл бұрын
This guy lowkey looks like Oscar Issac.
@perodactyl490
@perodactyl490 3 жыл бұрын
I _really_ expected not using a delimiter. I use JS without any semicolons and I get _so many_ errors in other languages involving semicolons.
@BillionaireDeveloper
@BillionaireDeveloper 3 жыл бұрын
I should avoid bad variable name...
@aintea2122
@aintea2122 2 жыл бұрын
One of the mistake I see is to trying to learn syntax more than logic. It's ok to forgot syntax, there is stack overflow. But logic is the most important thing ever, master it in the first place
@adipurnomo5683
@adipurnomo5683 3 жыл бұрын
Nice bro
@slr150
@slr150 3 жыл бұрын
6:26 No the way you go about is by writing your tests forts #TDD.
@ProbablyAnEarthbender
@ProbablyAnEarthbender 2 жыл бұрын
You have magic numbers labeling your timestamps in the description.
@youssefmic
@youssefmic 2 жыл бұрын
Library hell because I use reactjs and here you can literally install anything so.. avoid it… please
@henry_9
@henry_9 3 жыл бұрын
Mistake 1: 0:43 Mistake 2: 2:08 Mistake 3: 2:59 Mistake 4: 3:55 Mistake 5: 4:53 Mistake 6: 6:04 Mistake 7: 6:38 Mistake 8: 7:48
@KeepOnCoding
@KeepOnCoding 3 жыл бұрын
Thank you! I added it to the description.
@olabanjiosifowokan8888
@olabanjiosifowokan8888 3 жыл бұрын
my advice is: if it works, don't touch it
@makay9674
@makay9674 3 жыл бұрын
So a quick recommendation : change the tone of your voice throughout the video go up on and down this video had a single tone and i found myself looking away at times and not listening
@mikesummer5760
@mikesummer5760 3 жыл бұрын
Dude, are you on Twitter?
@KeepOnCoding
@KeepOnCoding 3 жыл бұрын
Not currently.
@anwarulbashirshuaib5673
@anwarulbashirshuaib5673 3 жыл бұрын
Help me get out of the tutorial hell. Please.
@colinmaharaj
@colinmaharaj 3 жыл бұрын
Rookie mistakes, like using java? 😂
@djlclopez128
@djlclopez128 2 жыл бұрын
Please throw away the Disney shirt, it's trash. Wear Python shirts instead!
@wasteoftime434
@wasteoftime434 3 жыл бұрын
I'm weak at codingg and want to improve but don't like spending time learning and solving problems.Boring and Difficult.Help me Out!!!
@pepperino-hotterino
@pepperino-hotterino Жыл бұрын
getting the debugger in my IDE running
Avoid These 6 Beginner Programmer Mistakes
8:11
Keep On Coding
Рет қаралды 21 М.
10 Ways To Get Better At Coding
10:38
Keep On Coding
Рет қаралды 225 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
How Senior Programmers ACTUALLY Write Code
13:37
Thriving Technologist
Рет қаралды 1,7 МЛН
50 Definitions Every Programmer Should Know
11:54
Keep On Coding
Рет қаралды 55 М.
Programming's Greatest Mistakes • Mark Rendle • GOTO 2023
51:24
GOTO Conferences
Рет қаралды 101 М.
5 Nooby Coding Mistakes You NEED To Avoid
19:45
Tech With Tim
Рет қаралды 21 М.
50 MUST KNOW Linux Commands (in under 15 minutes)
13:58
Keep On Coding
Рет қаралды 4,1 М.
7 Mistakes Beginner ML Students Make Every Year
12:07
Boris Meinardus
Рет қаралды 63 М.
5 Things I Wish I Knew Before Becoming a Software Engineer
9:08
Keep On Coding
Рет қаралды 943 М.
Coding Bootcamp vs Self Taught vs Degree
10:00
Keep On Coding
Рет қаралды 72 М.
Coding Was Hard Until I Learned THESE 5 Things!
7:40
Pooja Dutt
Рет қаралды 1,1 МЛН
Why Most People FAIL to Learn Programming
8:04
Aaron Jack
Рет қаралды 1,9 МЛН