Is it important to properly sanitize your input fields? Yes. Do developers often forget to do strong data validation? Also yes.
Speaking of which, here is a simple calculator, with absolutely nothing hidden inside (wink wink). The server is running Python on the backend, and we're pretty sure that this developer took the easy way out to evaluate the expressions you enter...