Re: [rdl-devel] Little Update
Status: Beta
Brought to you by:
rsinnema
From: R.S. S. <rss...@ya...> - 2004-01-18 09:43:33
|
--- Dave Gill <dav...@bl...> wrote: > > I have 'want' in my environment but it needs some work > doing on it to > make it Linux friendly. I asked about this on the want mailing list. In the mean time, do we have an alternative? The thing is, I don't care much for make. > The nagging > thing is that the Libraries of source code it relies on, > after a cursory > glance, look windows specific. > Not sure how much time I > should spend on > that to be honest. I know the task is assigned to me so > do you want me > to hack want into Linux shape? I took a quick look, and it seems to me that the only thing that is Win32 specific is the Crt32 unit. Am I right? This should be relatively easy to port using curses? Or maybe even just using plain WriteLns to get it running quickly? Do you want (no pun intended) to spend a little time on it? > I also had a look at some of the source code in CVS and > my only > immediate comment would be around variable naming. Can we > use some > prefix for the variable names to show scope and type? I'm not a big fan of Hungarian notation. The idea of having to rename my variable when the type changes, yuck. Knowing the scope can be helpfull. For this, I use the following simple scheme: - local variables start with a lowercase letter - arguments to a routine start with an lowercase 'a' followed by an uppercase letter - properties start with an uppercase letter - module level variables (globals defined in the implementation) start with 'MODULE_' - global variables (which I hope we won't be using) start with 'GLOBAL_' What do you think? > I know for > Instantiated objects that type is a bit of a nonsense but > we could > prefix it with a 'c' so in long lines of code we know > what we are dealing with. I prefer not to have long lines of code ;-) Really, when the code becomes obscure enough that these things start to matter, I think you are way beyond the point where refactoring for clarity is wanted. > Do we have an example RDL document > to look at? Yes, it's in /example. __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus |