File based development instead of repository/entity based development
Posted: Tue Oct 05, 2021 7:43 am
In the message thread "Lost another big piece of code" there were discussions about the type of development.
I must admit: After working 24 years with VO I am (mentally) still fixed on the type the VO IDE displayed all the entitities. I changed my working completely to fit to this working. It was nice for example clicking on a single method and opening only this method. And it will still take months to change my way of viewing/searching/thinking code.
Now we see that the repository based developments like VO have vanished from the marked. There were more disadvantages than advantages. As computer CPU power and main memory has grown so much in the last 40 years, the original advantages of a database (repository) oriented code structuring have been replaced by other possibilities.
What is important for us "old" VO programmers: To see the advantages of current file based programming and try to adapt them one by one:
- Small files, mainly one class per file
- New hierarchical orders possible by introducing folders and so better support of many small files
- Other possibilities to access code in a structured way (combobox with all methods, possibility to open/close parts of code in the editor)
- New search mechanisms (better regular expressions for example)
- Possibility to edit files outside of the IDE
- In case of corruptions normally only single files and not the complete repository is involved
- Easier class maintenance by only one class declaration at the beginnen and an END CLASS statement instead of repeating always the class name for every method.
Arne
I must admit: After working 24 years with VO I am (mentally) still fixed on the type the VO IDE displayed all the entitities. I changed my working completely to fit to this working. It was nice for example clicking on a single method and opening only this method. And it will still take months to change my way of viewing/searching/thinking code.
Now we see that the repository based developments like VO have vanished from the marked. There were more disadvantages than advantages. As computer CPU power and main memory has grown so much in the last 40 years, the original advantages of a database (repository) oriented code structuring have been replaced by other possibilities.
What is important for us "old" VO programmers: To see the advantages of current file based programming and try to adapt them one by one:
- Small files, mainly one class per file
- New hierarchical orders possible by introducing folders and so better support of many small files
- Other possibilities to access code in a structured way (combobox with all methods, possibility to open/close parts of code in the editor)
- New search mechanisms (better regular expressions for example)
- Possibility to edit files outside of the IDE
- In case of corruptions normally only single files and not the complete repository is involved
- Easier class maintenance by only one class declaration at the beginnen and an END CLASS statement instead of repeating always the class name for every method.
Arne