3 ms·
In my experience: libraries and frameworks - TDD is required and highly effective for web apps, business CRUD apps in loosely typed languages like Javascript/
by guru4consulting 6y ago
In my experience:
libraries and frameworks - TDD is required and highly effective
for web apps, business CRUD apps in loosely typed languages like Javascript/Python - TDD can marginally help, especially with checking types, validations, etc.
for web apps, business CRUD apps in strongly typed languages like Java - TDD / Unit Testing does not add much value. skip it.
I get more confidence when I run tests for the deployed web page (or API) with actual test data in real time.
- gizmo385 6y ago> loosely typed languages like Javascript/Python Isn't Python strongly dynamically typed?
- guru4consulting 6y agoyes, Python is strongly typed which is much better than Javascript's weak types.. but, still the dynamic types mean that potential bugs are not caught by compiler but the runtime (that means live Production environment!!). Static vs Dynamic type - based on WHEN the types are checked.. i.e., during compilation phase or runtime phase Strong vs Weak type - based on HOW strict or loose the type check is. i.e., weak types make many implicit assumptions and are very liberal in allowing different types to be referenced interchangeably or added together.
- randompwd 6y ago> apps in loosely typed languages like Javascript/Python > Python is strongly typed Another of Schrodingers animals.