5 Tips to Be a Better Programmer

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
a lot of people ask me how they can become a better developer this is why in this video i want to share with you my five tips how you can become a better programmer [Music] so tip number one code that works is not enough and a lot of developers especially beginners are satisfied when their code simply works because actually they spend too much time to implement something and this is completely normal but what is not normal is your attitude because actually your first code will be for sure bad it will be not clean not perfect and not the best way possible but it is totally fine to write code like this because actually your first implementation of something must be a dirty prototype it doesn't matter if you're a beginner or an advanced developer i highly recommend you to always first write a dirty prototype without a lot of thinking about naming about best possible implementation because actually you can't write your best code just from scratch it is simply not possible it is really difficult to imagine in your head the whole feature with its own complexity and difficulty cases this is why typically we want to write dirty prototype first and it should work but obviously it is not the final stage the next point will be to see this prototype analyze it and then think how we can improve it and especially if you're a beginner i highly recommend you to look on this code several times and even try to improve it several times because at the beginning it is super difficult to understand what is the best possible way to implement something so it is not enough to just write code that will work your code must go through some stages to be perfect my second tip to become a better developer is to read lots of code and actually not a lot of people are doing this why is that because we are focused just on our own code and we're just writing something which actually means it is more difficult for people to read code of other people and understand it and it is super important because actually when you read somebody's code you first of all see in other approaches and other architecture you can get other ideas about implementation which means it is super important for you as a developer to improve your skills but it is not only that when you are just reading code you can grasp code faster you can understand documentation faster and you can learn new things also faster just because you are used to read a lot of code and one of the really nice approaches to read code is first of all study code base and secondly study pull requests and actually if you are just coming in the new company and you see a project with some code base you must understand it really on a good level it is not just enough to open some class and write some code inside and think that you are good you actually need to understand the whole project how it is working from start to the end and yes it might be really complex especially if the project is really huge but take your time it might take a week or maybe more doesn't really matter the main idea is that you must fully understand how the project where you are working is functioning the approach that they see in a lot of developers they don't try to understand the code base they simply throw some code here and there and try to make things working this is not how you should proceed because actually if you don't understand how something is working from start to the end it is super difficult to fix it or implement something new there and exactly the same i can say about pull requests if you for some reason don't check pull requests of other people in your team i highly recommend you to start doing it or ask if you can do it or at least read the pull requests of other people when they are creating them even if you don't review them in this case you will learn how other people are writing code how they structure it what patterns they are using and you will improve your own code my tip number three is that your code is not your child it is completely fine to throw your code away it is completely fine to discuss your code with other people and you must be sure that your implementation is not the best one i totally understand when beginners love their code just because they wrote it they put so much time knowledge and effort in it this is why it is really difficult for them to say okay my code is garbage and when they hear that somebody is saying your code is not the best then they are really offended this is a wrong approach from the beginning the code is just the code and if you wrote it this is fine but you can just throw it away it is not a big deal you will write a lot of code in your next 3 5 or 10 years like lots of code which actually means it doesn't make any sense to have some feelings about code at all this is just some lines of symbols the best approach here is to show your code to other people to discuss your code and understand what solution can be better my next tip is also super important and i'm saying it in every single video you must implement your own projects if you want to become a better developer it is not possible to do it otherwise if you simply code on one job eight hours every single day you will learn something but you won't learn a lot because you have the same project the same framework and the same language which actually means at some point you can't really learn a lot of new stuff there when you simply implement new features and fix bugs you really must do some bad project in your free time you can choose another language and other frameworks you can try their new things and actually it is not easy and it is not fast and you must understand that it takes a lot of time and effort to implement a real project from the start to the end and deploy to production but this experience will open for you new horizons for example you can change a job with another framework or language if you want to or you can just use patterns or ideas from another language that you learned and if you just coded one more project in your free time this means that you become a better developer because you simply spend more time writing code my tip number five is that you should learn techniques and not tools and actually nowadays a lot of programmers are focused on specific tools they really check every single new tool that they see in internet every single day and especially in javascript world you are getting new frameworks new libraries every single day you really can't stay in loop with them and you should not because actually they will never be mature and they won't be that popular this is why you need to return to the basics you must learn the language that you are working with really really deep you must know like 90 of this language you must also master the framework with which you are working and the whole environment where you are working if we are talking about javascript or web development i highly recommend you to start with markup javascript frontend then go to backend databases maybe even devops stuff so you understand the whole process of creating something from start to the end and they didn't see here that you need to learn some tools you really can use some older tools or frameworks this is totally fine because you need to learn more techniques how to implement something and not just specific tool also additionally here i highly recommend you to look on design patterns of your language this will help you to understand better the ways of structuring code and how to improve your own code and here is my bonus point which is super boring you simply need to never stop learning and you simply need to code a lot if you want to become a better developer you just need to code code code lots of hours if you occurred in 3 5 or 10 years and you are implementing different things you will for sure become a better developer and also if you are interested to know how to become a senior and what you need to know make sure to check this video also
Info
Channel: Monsterlessons Academy
Views: 1,263
Rating: undefined out of 5
Keywords: monsterlessons academy, 5 tips to be a better programmer, 5 tips to become a better developer, 5 ways to become a better developer, how to become a better developer, the key to improving as a programmer, how to be a better programmer, improve as a programmer, how to become a better web developer, how to improve as a developer
Id: GwEgvR4Lfx0
Channel Id: undefined
Length: 8min 25sec (505 seconds)
Published: Tue May 17 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.