воскресенье, 21 сентября 2014 г.

Writing code that will still run decades from now

Programming 'languages' change. Libraries change. Some code from 5, 10, or even 19 years ago might nonetheless run and make expected results, whereas some code from year or so might fail using a syntax error. This is partially inevitable, since SugarCRM UK evolve (at the least, most do).

It's great which the Python team is thinking of this, and for sure these are far more gifted and skilled than I'll ever be. Still, I would estimate you will find there's 100% that anyone's code somewhere will minimize working how a want it's meant to when Python is usually upgraded.

Doing any of the things may/will increase the quantity of work you should do. I think that produces sense -- many of these points can also be generated for how to post good sugarcrm customisation, which is very difficult (for me). Sometimes you might need to violate some of the suggestions. That is correctly acceptable, but be alert to the costs.

Developers have a responsibility to keep their code. But sometimes, stability is a vital requirement in output code, and code ought to simply run regarding 10 years with the necessity for someone undergoing the code annually to adapt that for language modifications. Or I may have small scripts, for example pertaining to scientific data evaluation, that I need to revisit after not touching them for decades.

For example, at meteorological offices there is a lot of functional Fortran code actually for non-speed-essential components, and code stability is just about the reasons. I've heard concern for instability is among the objects they have got against moving in order to SugarCRM programmers (apart from language inertia naturally; it's only feasible for new code not dependent on old code). Of course, one strategy for stable code is always to freeze the entire main system. But that just isn't always feasible.

This is a great unsolved problem in your field. There's no way to make sure that your code will indefinitely operate. Even if your current code was truly perfect within the forwards-compatible sense (and whether it is, please come be employed by my company!; )), if it extends on, uses, or is used by any other computer software which gets some sort of bug or changes by any means, your code may well not work.
.

Комментариев нет:

Отправить комментарий