BSA – Assisting Code Generator in place

This example is the property list for Button. This is just an early draft, but as I added more properties to Button yesteday I realized that this would take some time with the number of components involved as every property require a bi of coding. So using a CSV file allow me to use Excel as editor and then just run a simple script in C# to generate repetive code that I can use to cut and paste from. It actually worked out well, it took me yesterday to moch up the code generator and today I can start speeding up adding properties – or more correctly modving my focus away from declaring properties to implementing their usage.

This is not rocket sciense as I believe every single developer have done something similar at one point using CSV, XML or JSON.

Leave a Reply