You've probably heard this sentence in a slightly different way:
Study less, study smart! - Marty Lobdell
The author of this book tried to explain How can you boost your productivity by studying smart and following some steps to reduce the amount of effort and put it into something valuable.
I am going to do the same thing here but with coding.
Know your Syntax!
Coding is basically knowing the syntax of a programming language add-up to some problem solving skills. But wouldn't it be more efficient and time saving if you found out that you can transform your 30 lines of code into 10 lines? That would be awesome right?
In order for you to achieve such thing, you need to be more familiar with the language syntax. to highlight the best possible choice that suits your needs. There are many alternatives you can choose from. You just need to dig deeper.Think!
Yeah, I know
In my CS class the moment we start looking for a solution to the problem at hand more than 90% of the students dive into coding without taking a minute to actually think. and actions like this will lead you to many bugs and errors.
The point here is that before leaning your fingers into keyboard and start typing take a minute to think: How can I solve this problem? what am i going to do at first? ..etc
-- Take a breath. Think, Solve the problem (Algorithm), Implement the solution.Code, Fix, Upgrade, Repeat!
The first piece of code you've written is not your best version. Always try to optimize your code to the ideal version you can possibly get. You're an artist, you have to make sure you give it all for your best work.
Don't forget to stop at each code-block and think. Review your code as and markup your plan as much as possible. Doing that can reduce a huge amount of time you would've spend on debugging and fixing logical-errors.
I hope you liked this one. It is the first version, I will come back later to optimize it :3
@KMx404
Top comments (0)