Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

An important part of programming as a discipline is coming up with things that work regardless of context.


Could you give some non trivial examples of architectures or techniques in software engineering that work regardless of the context?


good naming

Maybe that is not "architecture" or "technique" but is is definitely not trivial and is important in almost any context -- but also probably not what you were going for.


Good naming is context dependent.

ed: or rather what constitutes a good name is


Binary search works on git commits and on shelves with differently sized T-shirts equally well.


This sounds interesting, how do you mean? To me it seems like context is perhaps the key element that we should concern ourselves with to further the engineering or scientific aspect of programming.

Let's say we're deciding between floating point arithmetics, fixed decimal numbers, or rational numbers. All three of which are very well-established and useful solutions to the problem of subdividing integers. We have some context already here, and we'll need to provide a bit more context to know which solution to choose. Would you agree with that?


Before context, we would need to know the problem we're trying to solve. All three are equally good if there are no requirements.




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

Search: