Relative Content

Tag Archive for maintainability

Callback functions: Semantics and maintainability, when they aren’t necessary [duplicate]

This question already has answers here: How would you know if you’ve written readable and easily maintainable code? [closed] (19 answers) Closed 9 years ago. Within the context of JavaScript/Node.JS; Will using Callback functions improve the maintainability of source code, when there is no need for async programming? For example does the plain code sound […]

How to choose between different ways to write some code?

I would like to validate point in a two-dimensional rectangular Cartesian coordinate. I found following regular expression solution on stackoverflow ^(-?d+(.d+)?),s*(-?d+(.d+)?)$
. Another solution is using little PHP controls:

Decoupling of Model and API (in an .net WEB API Project)

I currently have one separate project for my models, and one separate project for a API application that consumes this model. The intention of the separation is to avoid any outgoing dependencies from the core model to consumers like the API project, enabling me to have a nice layered structure of responsibility.