Hacker News new | past | comments | ask | show | jobs | submit login

It makes me laugh, people who won't write a single keyword to specify the type of a variable, but will write a hundred lines of unit tests to make sure it's always what you want.



Dude. Stop it. He didn't mention unit tests. If you have a point, stop making stuff up about the posters you're responding to.


Oh I'm sorry, didn't know we were playing word games. The above poster complained about having to declare the types of his variables as if that was a bad thing. I simply pointed why it was in fact a good thing - you don't now need to do tests to ensure that your function that expects an INT always gets an INT, the type system takes care of it for you.

Discussions at this level presuppose a certain amount of background knowledge. Do try to keep up.


You mean as opposed to creating tests for storage failures when my strongly typed DB complains?

things need to be tested, strongly typed DB or not.

Please quit it with the Rude manner. It's against HN guidelines and makes your arguments weaker to boot. Or leave and go somewhere else.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: