Changes between Version 18 and Version 19 of C
- Timestamp:
- 11/19/12 09:33:25 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
C
v18 v19 54 54 * In resulting binaries such as .exe and .dll, the .NET standard CamelCase is used so that Cobra libraries vend out naturally to C# and VB.NET 55 55 * Class names must be (upper) [http://en.wikipedia.org/wiki/CamelCase CamelCased] or at least start with an upper case letter) 56 * instance variable optionally prefixed with _ (implicitly makes them protected) or __ (implicitly makes them private.57 If so prefixed can be accessed directly in methods (without a leading '.')56 * instance variable optionally prefixed with _ (implicitly makes them protected) or !__ (implicitly makes them private). [[BR]] 57 If so prefixed, these can be accessed directly in methods (without a leading '.') 58 58 * methods (and properties) on current object invoked with leading '''this.''' or more usually (shortcut) just '''.'''. 59 59 * constructor/initializer method is called init, has no return value … … 65 65 * uint8, uint16, uint/uint32, uint64 instead of Byte, UInt16, ... 66 66 * float32, float/float64 instead of float, double 67 * Type of numeric literals can be dictated using suffixes 67 * Type of numeric literals can be dictated using suffixes ( e.g. unsigned 47_u, 47_u8, signed 47_i8, 47_i64) 68 68 69 69 * Variable specification - typing, access modifiers, argument attributes specified by keyword '''as''' rather than C-like/Java-like syntax