Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
zshh38537yI usually do these things too. They're nice because you get the structure of the code done but have to fill in the blanks. Remember, a TODO without any code is much better than no TODO at all.
-
It's a good approach for fast development for other parts, but I'd really really recomment to at least add a warning message (in most projects they use "NotImplementedExceptions") like this:
console.warn( "validateForm() not implemented" );
It really helps to not forget about implementing it. 😉 -
Maiku07yWhy not skip this then and it when you're ready? Would make for nice commits and there is chance you're going to change naming/calls/signatures when you implement validation functionality anyway.
-
Crazed20507yIf you're doing EDD, couldn't you do this to test other components before validation is ready?
Quality code I made, as always
undefined