DEV Community

Discussion on: What are your best/worst habits as a developer?

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!