System Software Design

Holds discussions about Wimborne Model Town's River System Design and any relevant drawings.

Relevant documents are available at https://wmtprojectsforum.altervista.org ... les/Design
TerryJC
Posts: 2616
Joined: 16/05/2017, 17:17

Re: System Software Design

Post by TerryJC »

Version 0.12 is now uploaded to the file server.
Terry
hamishmb
Posts: 1891
Joined: 16/05/2017, 16:41

Re: System Software Design

Post by hamishmb »

Cheers, looks good to me.
Hamish
PatrickW
Posts: 146
Joined: 25/11/2019, 13:34

Re: System Software Design

Post by PatrickW »

I didn't actively choose to use defensive programming here. If it seems that way, it is probably a combination of habit, practices drilled into me at university, and following suit with the code that had already been written for the project.

Going by the way Wikipedia defines these terms, I think I would describe the code I've written as leaning towards offensive programming, as a subset of defensive programming. But it would not surprise me if the code can be classified as defensive under a different definition of defensive programming.
hamishmb
Posts: 1891
Joined: 16/05/2017, 16:41

Re: System Software Design

Post by hamishmb »

That seems fair. We could also add some notes about offensive programming if you like.

My approach wasn't originally defensive either, but it has become more so over the years. The Open University interestingly prefers Design by Contract for the efficiency gains, as it is mostly considering things from an enterprise setting, but personally I prefer defensive, especially for projects like this.
Hamish
Post Reply