[C/++] Crap Coding Style (char*) (Wishlist)

[C/++] Crap Coding Style (char*) // Wishlist

1  |  

strike rapier

Jul 3, 2006, 8:02am
Hi,

Is it me or is the coding style for the C SDK just crap? I mean in terms of
the use of char* as function arguments.

There is no good reason not to use const char* and prevent casting, the SDK
should never ever edit any of its argument data. Its causing a nuisance with
having to put in casts galore.

--
- Mark Randall
http://www.temporal-solutions.co.uk

"We're Systems and Networks..."
"It's our job to know..."

strike rapier

Jul 3, 2006, 11:48am
[View Quote] ie: Can we have consistant coding with const char* please.

--
- Mark Randall
http://www.temporal-solutions.co.uk

"We're Systems and Networks..."
"It's our job to know..."

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn