Some Bad Habits I Developed as a Developer...

And What I Learned From Them.

A Thread... Image
We are creatures of habit.

Habits are a powerful part of life.

There is no fixed set of habits for a programmer.

Software engineers want to be as effective as they can be, but some aren't hitting the mark.

I developed some bad habits over years of forging code.
1- Not writing tests:

Forget TDD & let's just focus on the bad habit of not writing automated tests.

The thing with writing automated tests is that while it can seem like a waste of your time or a client’s budget, the time you invest in writing a test has massive returns.
Simplifying the cost / benefit of writing tests based on time saved may be overly simplistic.

The main point is that you can’t use the excuse that there is “no time/money” to build tests.

Writing good tests is difficult at times.
2- Not understanding fundamentals:

This is a serious problem.

There are a lot of people, who want to quickly become a programmer, or are already developers, but want to change technology, but they only learn specific frameworks, instead of starting with basics.
This is really common and it’s like building a house without a floor, it may even work for some time, but at some point, everything will collapse.

You cannot just learn React.js without understanding JavaScript basics like closures, scope, callbacks, etc.
3- Never branching:

If you leave all your code on a master branch then it becomes hard to manage multiple features, releases, & multiple contributors.

The best thing to do is create a branch for every new task you’re working on & push changes.

Take the latest before a new PR.
I personally like a simple categorization of branching: feature, bug, and hotfix.

- A feature is for most regular updates,

- A bug is obviously for bugs that are breaking the site,

- A hotfix is for something that needs to go live asap.
4- Trying to be too clever:

As writing "one liner" programs that accomplish a lot in very little space or doing tricky things with the hardware or the operating system.

Interesting from a theoretical perspective but such code can be a nightmare to maintain and support.
5- Not asking for help:

Asking for help doesn’t mean you are stupid.

If you got stuck and are trying to solve the same problem for few hours, testing different approaches and it still fails... maybe it’s worth asking for help.
Ask your friends, maybe someone solved that issue in the past,

if not, maybe ask on StackOverflow or Twitter.

Just share what problem do you have, what solutions did you test, what exactly is failing.

Pro tip: Did you know about "Rubber duck debugging"
6- Not practicing standard practices

7- Saying “I’ll do that later, I just want this code to work right now”.

8- Thinking “my code doesn’t have bugs, but when someone takes a look at it, people puke”

Bad practice + bad habits = bad developer.
This is true because your behavior influences the way you think and the way you write code.

When this happens, it influences the way you become a developer.

Anyone can learn to code, but developing good programming habits is another matter entirely.
I have changed & develop good habits through years of hard work.

I post threads like this.

Follow along as I help you in your growth as a dev.

See my past threads here @TheAnkurTyagi

Follow your mentor to watch more stories like this of my exp in software development...

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Ankur💻🎧💪

Ankur💻🎧💪 Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @TheAnkurTyagi

23 Jun
How should I work effectively as a remote employee?

A Thread... Image
Remote work can feel like a dream come true.

You can work from home or spend the life of a digital nomad, feel comfortable in your casual PJs and t-shirt all day.

You get to ditch commute and enjoy working from your home office or a cozy cafe.

It feels fantastic, isn’t it?
Remote work can be a way of freedom.

You just have to find your way.

Here are some tips for balancing work-life when working remotely.
Read 18 tweets
20 Jun
A Simple and Effective way to Learn & Practice JavaScript...

A Thread...
The best way to practice JavaScript is to work on the project.

"Don't take on the Project whole at once."

Don't try to build all features at once.

Go Step by Step.
▫ Sample projects that can be done:

- ToDo List
- Music Library
- Contact/Phone Book
- Any project that involves CRUD operations.
Read 11 tweets
17 Jun
10 Mistakes You Should Never Make When Starting a New Job As a Software Developer...

A Thread...
Are you about to start a new job?

If so, by now, I’m sure at least some of that initial excitement of being offered the job has worn off and is starting to be replaced by feelings of nervousness or anxiety.

Am I right?

Well, you’re not alone.
Even for the most confident of Devs, starting a new job can be hugely nerve-wracking, and that’s completely normal.

Congratulations! You’ve finally secured a new job, and now you want to start off on the right foot, making a positive impression on your new boss and colleagues.
Read 23 tweets
14 Jun
How To Write An Interview-Landing Developer Resume.

A Thread...
LinkedIn’s latest data shows that developer jobs have increased by nearly 25% over the last year.

And the best part?

This growth is expected to continue for years.

But you’re not the only one who noticed “the boom”.

Many developers are also sending their resumes in.
Resumes are hard.

And most people are bad at them – which makes sense because you probably only write or update your resume every few years.

It involves selling yourself and your skills - something most people struggle with.
Read 21 tweets
13 Jun
Coding Bootcamps vs College vs Self Taught

What's the Right Choice To Become a Software Engineer...

A Thread...
There are many possible paths to a career in software development.

However, the choice will impact the amount of time you spend studying and the cost of your education.

It is worth spending some time deciding which one is right for you.
These days, you can define three different primary paths from a starting point to a career in development.

They are:

- Coding Bootcamps.
- Self-Taught.
- College.

With these three paths open to you, you’re left with a decision:

Which one should you pursue?
Read 18 tweets
7 Jun
Mistakes I made in my 20s as a Software Developer...

A Thread...
It’s OK to make mistakes.
Yes, even when it comes to your career.

Career mistakes in your 20s aren’t the end of the world.

Not that I'm encouraging you to make career mistakes but just know, if you do, you can hopefully bounce back stronger than ever...
Being a young professional can be exciting.

There’s no easy way to condition yourself as a perfect professional, nor is there a shortcut to a perfect career path.

"Learning from your mistakes does not happen automatically—it requires thinking and reflection."
Read 18 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(