Thread: OO initiative.
View Single Post
11-29-05, 12:31 AM   #22
Silversage
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 132
Rowne, I'm in complete agreement.

For my own code, I prefer, stylistically, to use colon-syntax just so that involves less thinking and remembering on my part. About the only time I don't is when a procedure has to be replace an API procedure, or be passed as an argument to something in the Lua standard library (e.g., table.foreach or string.gfind).

Over the years, I've worked in a variety of languages. Among scripting languages, Lua is a hands-down winner for getting the most mileage out of a few simple constructs.
  Reply With Quote