Please don't get marry with your code :)


Hello Coder,

Please don't get marry with your code :).

Why ? 
How ?
When ?
What ?

Ok ..those might be your question with different context ? 

Not at all the problem.

Let me ask few challenge questions that you'd give idea about "title" of this post .

when did you code last ? 
Do you remember it ? Do you like/love it ?
Do you want to review it ? even you find it's best for you at that time problem
when did you feel your code fit to your problem ?
Did you think it's only solution or optimize solution ? that you coded ?
Did you feel your code is best and fit to all the requirement and expectation ?
Did you feel happy if nobody not touch your code ?
Did you duplicate your code instead of change your exists code for solve some problem? 
Did you fear to change your code ? 
...
..
.

If you think answer of these question "YES" then you are always married with your code and you are happy with code, celebrating anniversary :)

Next ..PLEASE

Please be ready to change your code without any fear ...

Please be ready to define constructive test cases that ensure to run exists use cases when you change it.

Software always made for changes, not persist it.

Use case are remaining same  across world wide, only change software/code/technology/infrastructures etc ..

 Always think different solution for your code apply with different pattern/languages/technology etc.

Always watch your code periodically and think how can you make it better and change it ..instead of get married and not change it ..

Always dirty your hand with different programming language with same/different solution.

Don't feel bad when changes/getting feedback on your written code.

Always be happy when you see your code is getting changes and learn it.

Learn from your coded mistakes and keep it in mind for your next code.

It's not always necessary one solution has only one pattern, think different pattern or hybrid pattern/solution.

It's time to keep in touch with latest tools/technique/framework/etc.

You can google it for solution but you can make it better if you think it better from mind.

Again ..be ready for change !!! software code ..!! of course your self...be dynamic/flexible programmer.

Finally ..Please don't love your programming language(in which you code).

Enjoy .

Happy coding...

@Munich with sunny and cold climate today.
 




 

Comments

Popular posts from this blog

Simple way producer–consumer problem's implementation in NodeJs

Step by step guide on how to pay Income Tax that is due

Cassandra Materialized view vs Index