What reasons are there for not using a method directly?
e.g. tplayer.move(n) or move_player(tplayer,n)
I notice BRL tend to use a function that calls a method while other 'externalise' the methods to be called directly.
Both make sense to me but I'm just wondering if using methods is frowned upon in programming circles.
e.g. tplayer.move(n) or move_player(tplayer,n)
I notice BRL tend to use a function that calls a method while other 'externalise' the methods to be called directly.
Both make sense to me but I'm just wondering if using methods is frowned upon in programming circles.