DEV Community

Helen Thackray
Helen Thackray

Posted on

What are your best/worst habits as a developer?

Curious to see if there are any common ones in the community:
What are you best or worst work related habits?
Why do you do them?
Do you think you need to change them?
(Can be job-specific or person-specific).

I think one of my worst is that I accidentally over-caffeinate myself - whenever I'm working I think "coffee = productivity" when in fact it makes it harder to concentrate. I'm trying to switch to water and tea in moderation.

Top comments (6)

Collapse
 
sudiukil profile image
Quentin Sonrel

Some of my worst habits are:

  • Not being able to work/concentrate when I'm not motivated
  • Needing caffeine to work efficiently if I'm not 100% interested by the task at hand
  • Wanting/needing to use my tools and my environment to be efficient
  • Listening to music all day when working (kinda bad for my ears and creates isolation)
Collapse
 
slmjkdbtl profile image
tga • Edited

Always wanted to write my own game engine, text editor, web server, front-end web framework, formatting engine, ...... Ending up with 0 productivity and always writing tools that are not as good as other's (I'm a game maker but havn't made games in half an year)

Collapse
 
hel_ty profile image
Helen Thackray

So do you think that's because you try to do too many things or does something else get in the way of the productivity?

Collapse
 
fatimatariq25 profile image
Fatima Tariq • Edited

I am a self educated developer. So I can tell a ton of terrible and beneficial things

  1. I use remarks to investigate, evacuating certain lines of code. I don't utilize them to make the code justifiable. All things considered, if code was hard to compose, it ought to be hard to peruse.
  2. I know the calculations by their complexities and not names. Barely any hours prior, somebody asked me how to parallel pursuit. I needed to Google to discover just that Binary Search is only the O(logn)O(log⁡n) look calculation.
  3. I frequently will in general rethink the wheel. Since I can, and I don't realize that there is a capacity officially made for that. Recently, I made a capacity to turn around the string in C++. Just to tune in from somebody that strrev() exists. 4.The other day, I told a senior I know Python. Hello, I can code in Python effectively. What's more, they inquired as to whether I can give a workshop to learners. I requested that what themes spread and he said 'Till Classes and Objects'. I resembled, What the hellfire!! I can take up Classes in the first place, Java does that. Python can likewise. So we can't connect with what others will get it. 5.Usage of Global Variables. Took me a half year to comprehend that they are pointless basically. I used to have every one of my factors worldwide just to abstain from passing them as contentions. I said It spares Memory. 6.I use PHP in the time of Django. I know Django. I know Flask. Despite everything I use PHP. I adore it. Frequently, self educated developers get dependent on a specific content.

7.I don't will care about will's identity utilizing my code. Utilizing JavaScript, I can popup an entire bundle of ready messages. Or on the other hand perhaps I give yield utilizing the console.log(). I concur this may not be general, however regularly self educated developers tend to not realize how to put yield.

8.It works = It is great. This is great. Takes a very long time to figure it out.

That is by all accounts everything I can review!

Collapse
 
ali profile image
Haider Ali

I think my worst habit is that i depand a lot on the internet , especially when writing code,I have never written a code from scratch in almost all my projects, each time i copy existed code on the Web and edit it depending on the need
Except when I'm facing a surious task that needs to be resolved by a programming solution

Collapse
 
hel_ty profile image
Helen Thackray

You say it's your worst habit, do you think you need to change it? Why/not?