September 19, 2018, 02:51:25 PM

Author Topic: Blitzmax - OOP tutorial  (Read 53 times)

Offline TomToad

  • Sr. Member
  • ****
  • Posts: 313
Blitzmax - OOP tutorial
« on: September 16, 2018, 11:08:41 AM »
Not sure if I should post this here or on the BlitzMax forum.  Decided to post it here.

This is an old tutorial on Blitzmax types and OOP, written by John Judnich, that I found very useful.  Thought I'd post the links here so new BMX programmers can benefit from it.
The pdf file can be downloaded from Brucey's site here. http://brucey.net/programming/blitz/misc/library/BlitzMax_OOP_Tutorial.pdf
The original post can be found here http://www.mojolabs.nz/posts.php?topic=59233

quote from original post
Quote
This tutorial is intended for programmers already familiar with BlitzMax's general syntax, but not with the concepts or uses of custom types or object-oriented programming techniques.

When finished reading this tutorial, you should have a good understanding of most of BlitzMax's OOP features:
* Type Definitions with Fields
* Type Definitions with Methods
* Inheritance
* Polymorphism
* Constructors & Destructors
* Static Methods & Fields

Not only does this tutorial teach you how to use these features, but where and why they should be used.
------------------------------------------------
8 rabbits equals 1 rabbyte.

Offline Xerra

  • Full Member
  • ***
  • Posts: 196
  • We all float down here, Billy. You'll float too !!
    • Retro Evolved
Re: Blitzmax - OOP tutorial
« Reply #1 on: September 16, 2018, 11:43:36 AM »
I remember this tutorial well from my Blitz days. It was incredibly helpful when I was trying to understand how OOP worked. Very well written, too. Pretty sure I've still got a print-out of this in a folder somewhere in the man cave.

This needs to be kept somewhere safe so newer Blitz users don't miss out.