¿Qué características debe de tener un código, para que sea duradero y sostenible a futuros cambios y versiones?
5/11/2019 8:49:32 AM
If you learn python well,james powell on youtube explains why it is the best(and easiest) to maintain assuming you know what you are doing. YT: expert python james powell (40 min talk)
Also focus on using pure functions,if you need to save the state you might want to use a class/other type of object instead of a function
One unit (function, class etc.), one job, with a small and simple interface.
That way you can easily exchange the unit, like a light bulb when it's broken or you need a stronger one.
Depending on how well you setup your database and how well you've practiced how to code, you wouldn't really need to bother about future changes
Document the code with the right amount of comments so that a future developer is able to easily understand the original programmer's intention.
Planning and structuring the code before hand and keep a documentation in comments or/and text files along side the project..
Divide the task into small subroutines (methods), which each do one thing well.
Well im not an expert but i know it has to be for one “bug-free code”, “clean readable code”, and if I’m not mistaken “scalable”
GET THE FREE APP
Learn Playing. Play Learning
Send us a message