Had another 48hr game jam this weekend...

Gary Willoughby dev at nomad.so
Sun Sep 1 03:22:15 PDT 2013


On Sunday, 1 September 2013 at 02:05:51 UTC, Manu wrote:
> We all wanted to ability to define class member functions 
> outside the class
> definition:
>   class MyClass
>   {
>     void method();
>   }
>
>   void MyClass.method()
>   {
>     //...
>   }
>
> It definitely cost us time simply trying to understand the 
> class layout
> visually (ie, when IDE support is barely available).
> You don't need to see the function bodies in the class 
> definition, you want
> to quickly see what a class has and does.

Uggh! I absolutely do not agree with this. You should rely on 
documentation or an IDE class overview for these things *not* 
alter the language. In lieu of IDE support just use ddoc comments 
for methods and properties and compile the documentation for each 
build.


More information about the Digitalmars-d mailing list