November 21, 2018, 05:01:07 PM

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

Offline TomToad

  • Sr. Member
  • ****
  • Posts: 340
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.
The original post can be found here

quote from original post
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

  • Sr. Member
  • ****
  • Posts: 294
    • 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.