Shortcut to refer to a type field?

BlitzMax Forums/BlitzMax Beginners Area/Shortcut to refer to a type field?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

It's not just for the sake of it. What if you decide to change your implementation later, and you get to that object a different way? If you've got an accessor method, then you just change it in one place and the rest of your code works.

Good programming isn't about making it always quicker to implement. Think about maintenance, flexibility, reuse etc.

Software engineering has changed over the years, for a reason. Someone just didn't invent this stuff cause they were being 'cute'.


Sure if your program consists of plotting some points and making them go up and down, you might not bother. But any sort of large application benefits from strong design and impementation methods.



Aaron