DEV Community

Cover image for 08 Mistakes to avoid As a Programmer

08 Mistakes to avoid As a Programmer

Akash Upadhyay on September 10, 2020

Hello to all my community people :-) This is my 6th post and I'm thankful to everyone because I love this community. And special thanks to all my 5...
Collapse
 
codinglanguages profile image
Your DevOps Guy

Bonus Tip: Try to maintain one error doc so that you can refer it whenever you encountered that error again.

I like this tip a lot! I mentioned in one of my articles about coding interviews, but you can apply it to other contexts.

I just found one I wrote while I worked at Amazon. IΒ΄ll share it soon.

Thanks for sharing!

Collapse
 
darkwiiplayer profile image
π’ŽWii πŸ³οΈβ€βš§οΈ • Edited

Either that or use git. If you fix a bug, be sure to add a good description of the bug in the commit message; then, in the future, you can just use git log --grep "<error message>" to look through the commit history and find all the relevant information, including how it was fixed back then, who did the fixing (and might therefore know more about it), when that was, etc.

Collapse
 
designerakash profile image
Akash Upadhyay

Yes, your right.. Both r the good option to have but to have is the first step and the important step to maintain the documentation for errorsπŸ’šπŸ˜€.. Thank you for sharing your experience...

Collapse
 
nagkumar profile image
Raja Nagendra Kumar • Edited

Better not a self-document, but file it as ask for the inputs @ stack trace and suggest the solution too. It is easy to refer anytime, anywhere, build a reputation and you have global developers' attention too.

I also love error be properly put as JIRA issue(s), it helps as a stronger reference as long as you are in that company.

Collapse
 
designerakash profile image
Akash Upadhyay

Thank you for sharing your opinionsπŸ’šπŸ˜€.. And I think it's great if we can start documenting what we are doing daily.. it's a good habit.. It's very useful for us and we also find it easy we start doing documentain in the company πŸ˜€πŸ’š

Thread Thread
 
nagkumar profile image
Raja Nagendra Kumar

When you say documentation, is it word doc, Evernote, etc or are u referring to any good developer tooling like JIRA etc.?

Collapse
 
designerakash profile image
Akash Upadhyay • Edited

I'm glad that you find it useful πŸ˜€πŸ’š.. Sure I can wait for ur version

Collapse
 
agiesey profile image
AGiesey

These are great! I especially believe that the pomodoro technique is a huge help. I find it increases the time that I feel productive by at least 3 hours a day. I use a kanbanflow (kanbanflow.com) which has a built in pomodoro timer to make little tasks for myself outside of work's shared Agile tool. I also think that writing comments in plain english to map out a function before writing it's code helps me.

Collapse
 
designerakash profile image
Akash Upadhyay

Hey, thank you for sharing ur opinions πŸ’šπŸ˜€.. That's y i love this beautiful community of supportive people πŸ’š ... Yes this technique i got to last year.. And it helped me a lot πŸ˜€...

Collapse
 
uzair004 profile image
Muhammad Uzair

I am learning Web Development, it's been a while i can't see any improvements in my designing skills , layouts, etc (frontend, css stuff)
I am planning to join 100DaysOfCode and will dedicate few hours daily to learn Back-end stuff (node, express, mongoDB) as my goal is to become developer at end of this year.

Also started UI/UX learning a month ago, putting hour or two at night for that to proceed towards graphics stuff.

Even though i will be learning TWO things at a time INSTEAD of one, But i think they are interconnected and would benefit me.

Collapse
 
designerakash profile image
Akash Upadhyay

hey, thank you for sharing your experience. I can share my experience, what I did... Front End Development first then when I thought I'm confident enough in this field then I did UI/UX but still doing Front End Dev with that...then mobile and backend with illustration and etc.

Its good that you're doing 2 things together but start with one and then after 1 month when you're confident in that ..then add other ingredients on ur bucket...

I hope it is helpful for you :-) ....for more information you can connect with me on my page ...

Collapse
 
jwp profile image
John Peters • Edited

I like item 6. What we need to learn are programming styles which prevent maintenance and bug issues later. Especially being that 60% or more of the cost of software is maintaining the code, not developing it.

Collapse
 
designerakash profile image
Akash Upadhyay

Yes, indeed.. Thank you for sharing ur point of view πŸ˜€πŸ’š

Collapse
 
importhuman profile image
Ujjwal Goyal

Can you please elaborate on points 4 and 7? How exactly do you recommend to document code? Is it commenting in the code about what a particular block of code does, or something else?
And as for using GitHub as a backup, if you merge a branch which later turns out to be not so good, do you switch to the older commit of the master branch, or by some other way?

Collapse
 
anzhari profile image
Anzhari Purnomo

The pomodoro technique really helps. I usually alternate between a 90 or 120 minutes cycles before break.

Collapse
 
andrewbaisden profile image
Andrew Baisden

I'm a fan of pomodoro too it helped me speed learning many programming concepts.

Collapse
 
designerakash profile image
Akash Upadhyay

YES, Indeed... it's a great technique to remain more productive...happy to connect :-)

Collapse
 
designerakash profile image
Akash Upadhyay

Yes, indeed it's a great technique... πŸ’šπŸ˜€

Collapse
 
placideirandora profile image
Placide IRANDORA

Thank you for the tips. This is so helpful.

Collapse
 
designerakash profile image
Akash Upadhyay

Always happy to share my knowledge with my community people.. Happy to connect and I'm glad that you like itπŸ˜€πŸ’š sharing microblogs too on insta

Collapse
 
ponyjackal profile image
ponyjackal

Thanks for your nice posting, Akash

Collapse
 
designerakash profile image
Akash Upadhyay

Always feel great to share my experience with this lovely community πŸ’šπŸ˜€... U can connect with my page if you like...

Collapse
 
eecolor profile image
EECOLOR

One of the most common mistakes I encounter is that developers think they are done when it works.

A phrase from Uncle Bob really helps: your code should read like well written prose.

Collapse
 
designerakash profile image
Akash Upadhyay

yes, you're absolutely right buddy :-)...appreciate ur opinion... #CommunityLove