I’ve just finished my masters thesis for artificial intelligence. Coding was mostly processing java, some data wrangling with python and awk. Charts were made python and spreadsheet.
I actually wanted to write about doing a larger project with processing. First thing I would consider is whether to use processing ide or eclipse IDE or similar that is actually designed to handle large projects. 1000+ lines gets a bit rough to handle in processing ide. And with that amount of code you will most likely do some sort of refactoring (ie. renaming method, moving methods from class to another etc) and eclipse is better suited to that.
Another thing is code division. Use classes. It helps to handle and remember the program structure. It helps to keep methods short and understandable. Short and understandable means less errors and easier to find errors. Classes ease the load on you mind. You don’t have to remember or search that much of your code, when it’s well structured and minor details are hidden in class methods.
I would also recommend to use data structures from Collections, unless you want to put your code to web. I started my code with processing tables, but they were too slow for my use at least.
And finally know your processing. It has extensive and easy to use set of functions. If you do things ‘processing way’ you don’t have to worry about exceptions or loads of other cumbersome stuff.
Thesis has only partial code, namely raising sea level with region growth algorithm. Whole code base is still a bit messy and needs a bit critical rewriting before disclosure. I don’t see any reason why I couldn’t make code public (after clean up of course).
Now I wonder if you are really worried about sea-level rise
My sister, who lives in the Netherlands, was terrified about this, until I send her an official research ordered by the government, where is stated that the level is not rising accelerated, but the ground level is lowering instead.
Now she can sleep in peace again.
Well, I am worried. Without a catastrophic event sea level rise will not be a problem for us, but it will be for future generations, unless another extinction threat hits first.
There’s just easily available data to model sea level rise. Other threats are not so easily modelled.