FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Style Guide

 
Post new topic   Reply to topic     Forum Index -> General
View previous topic :: View next topic  
Author Message
brad
Site Admin


Joined: 22 Feb 2004
Posts: 490
Location: Atlanta, GA USA

PostPosted: Tue Apr 06, 2004 11:35 pm    Post subject: Style Guide Reply with quote

In the D style guide, there is a reference to having all modules be named in lower case to avoid issues on case-sensitive operating systems.

My question is, do we then have to name the files holding the modules in lowercase as well? I did a lot of this for DWT, but in looking at Kris's DSC and doing a small OO project in D with interfaces (gulp) and classes, I found myself wanting to follow Java style more than D style.

I'm thinking about going with the Java style, and being consistent. I'll be developing on Linux, so I'll very well catch the problems if they arise...
_________________
I really like the vest!
Back to top
View user's profile Send private message
RoaringPenguin



Joined: 03 Jun 2004
Posts: 3
Location: Germany

PostPosted: Wed Jun 09, 2004 6:29 am    Post subject: Reply with quote

interesting question... this dependends on the file system behaviour of the OS you use (e.g. as case sensitivity still seems to be an unknown feature in the M$ world).
I strongly recommend always to use lower case, to avoid conflicts when changing platforms! (Had to spend several days of stupid work converting C source file names in the past myself...)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> General All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group