lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>    /*-----------------------------------------------------------------------
>    ; [1] - please, please, please, ifyou are writing in C, use NULL instead
>    ;       of a 0.  Even though NULL is 0, using NULL portrays the intent
>    ;       better than a 0.  It also stands out more.
>    ;
>    ;       If you are writing in C++, you have my condolences. [2]
>    ;
>    ; [2] - Okay, my bias is showing through.  Sorry.
>    ;----------------------------------------------------------------------*/

If you are writing in C++, you have nullptr that's even better than NULL. :P

/s/ Adam