Common Ethics for better coding !

Last week I tried the Foobar challenge.

It is a set of coding challenges of five levels. Difficulty increases as we proceed each level. We can code the solutions in Python or Java. My weapon was Python.

I have completed 3 levels of the challenges (Further challenges are totally out of my reach!). Here are the lessons I learnt after attempting the challenge.

1. Make your concepts “crystal-clear”

The first challenge went quite easy. But during the second one I had to brush-up some points to be able to solve it. And that consumed my most of the time.

2. Solve the problem first

Solving the question prior to coding gives us an idea of what and how to code. Starting to code in vague, leads to more confusion.

3. Test your code

Testing the code lets us know how we can improve our code for the correct solution.

4. Take your time

All work and no play makes Jack dull. Thinking about a problem for long time doesn’t help much. Take a break. Fresh up your mind and then get back to code !

So, how’s the article ? Share your coding/learning experiences down in the discussion.

Thanks for reading !

原文链接:Common Ethics for better coding !

© 版权声明
THE END
喜欢就支持一下吧
点赞7 分享
Remember happiness doesn't depend upon who you are or what you have; it depends solely on what you think.
幸福不在于你是谁,你拥有什么,而仅仅在于你自己怎么看待
评论 抢沙发

请登录后发表评论

    暂无评论内容