Go Back   ZeroC Forums > Comments

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 12-07-2005
vermorel vermorel is offline
Registered User
 
 
Join Date: Dec 2005
Location: France
Posts: 10
Code convention for .Net Ice libraries

It seems that .Net libraries of Ice are following the Java naming conventions (no capital for method names for example).

It would nicer if the .Net naming conventions where followed by the Ice assemblies. Although not critical, it's the kind of things that makes you feel at home while using Ice.
__________________
Joannes Vermorel,
CS PhD Student, Ecole normale superieure
http://www.vermorel.com
Reply With Quote
  #2 (permalink)  
Old 12-07-2005
michi's Avatar
michi michi is offline
ZeroC Staff
 
Name: Michi Henning
Organization: ZeroC
Project: Ice
 
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 909
Most of the Ice APIs are generated from Slice definitions, so the same single set of Slice files is used for all implementation languages. If we were to change the definitions to match the .NET naming convention, we would break every piece of existing Ice source code ever written.

But, even assuming we could do that, we'd still not be able to please everyone because, after the renaming exercise, the convention would now be wrong for Java.

Personally, I think that .NET is the odd one out here: it's unusual for a convention to use an initial upper-case letter for methods and properties.

Cheers,

Michi.

Last edited by michi : 12-08-2005 at 10:47 AM.
Reply With Quote
  #3 (permalink)  
Old 12-08-2005
vermorel vermorel is offline
Registered User
 
 
Join Date: Dec 2005
Location: France
Posts: 10
Ok, thanks for the answer. I was not aware that such a change would impact all the other languages as well.

Joannes
__________________
Joannes Vermorel,
CS PhD Student, Ecole normale superieure
http://www.vermorel.com
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using types defined by other libraries in slice. Genia4 Help Center 3 10-17-2005 08:34 PM
create static libraries hiasl Help Center 1 08-03-2005 12:59 PM
Only multi-threaded DLL libraries can be used with Ice! chenhong_sz Bug Reports 4 04-20-2005 05:23 AM
Ice and single threaded libraries Nis Baggesen Help Center 4 03-22-2005 05:25 AM
Problem creating Windows libraries xdm Help Center 7 09-01-2004 02:34 PM


All times are GMT -4. The time now is 08:28 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.