Is there a proper way of fixing bugs?<\/p>\n
Yes – Fix them AT THE SOURCE<\/p>\n
I’ve noticed many times engineers lacking simple understanding of ‘due to which design flaw’ a bug is coming up<\/p>\n
And as we humans commonly do, engineers try to fix the ‘symptom’ not the problem.<\/p>\n
Let me explain:<\/p>\n
A new field introduced in a form on a web page. This data is used by this application, also this data is fed into other applications.<\/p>\n
Now our new field here is one big text area, where users are expected to enter let’s say name and phone number.<\/p>\n
Naturally every person will write the values in a different order & different formats, which will lead to complications for applications using this.<\/p>\n
Now to handle the varied type of inputs we can get, engineers spend time trying to build Regex to ‘extract’ the name & phone numbers. – This to me is suppressing the symptom<\/p>\n
The thing to fix is – break that giant field down into first & last names and phone number fields separately with field validations..<\/p>\n
This might seem very obvious, you’d be surprised how many times we get this wrong..<\/p>\n
#RedefiningSoftwareQuality<\/strong>\u00a0✔\u00a0#Bugs<\/strong> #Development<\/strong><\/p>\n ✔️ Follow me to transform your quality practices<\/p>\n<\/div>