Quote:
Originally Posted by Johnny got his gun
About multidimensional arrays... Those are just an abstraction, you could implement a 5x5x5 array using a 125-sized array, and a proper interface for the array.
and IMO I think the loose indentation warnings should stay. Lots of nasty stuff is avoided this way. I see it as a good feature. Makes you learn how to indent properly :-)
|
Yeah, using the proper math you could do (i*size)+j for a 3 dim array for example, but I was wondering if it would be added so our code doesn't look so messy.. thats all, if not, no big deal, as there are ways around it, but X-Dimensional arrays are nice feature...
And also, loose indentation is pointless, I know how to code nicely, and with conventions and all, but they're freaking annoying, and entirely not needed.. I personally like writing my code like:
public SomeFunction()
{ // first line of code here...
// second line of code here..
}
but Small compiler doesn't like that.. it doesn't like my first line of code being on same line as {.. but it really doesn't matter..
Anyway.. there are always work arounds, I just thought, if it is being remade, why not add some nice features at least support for 3Dim arrays..