Results 1 to 3 of 3

Thread: Code convention for .Net Ice libraries

  1. #1
    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

  2. #2
    michi's Avatar
    michi is offline Registered User
    Name: Michi Henning
    Organization: Triodia Technologies
    Project: I have a passing interest in Ice :-)
    Join Date
    Feb 2003
    Location
    Brisbane, Australia
    Posts
    1,055
    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.

  3. #3
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 04-25-2010, 07:06 PM
  2. Replies: 3
    Last Post: 06-17-2009, 09:10 AM
  3. create static libraries
    By hiasl in forum Help Center
    Replies: 1
    Last Post: 08-03-2005, 12:59 PM
  4. Only multi-threaded DLL libraries can be used with Ice!
    By chenhong_sz in forum Bug Reports
    Replies: 4
    Last Post: 04-20-2005, 05:23 AM
  5. Ice and single threaded libraries
    By Nis Baggesen in forum Help Center
    Replies: 4
    Last Post: 03-22-2005, 05:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •