Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to pass cmd line arguments to my carbon app?




On Sep 22, 2005, at 10:43 AM, Jay Vaughan wrote:

All the "Best Practices" books I've read for software engineering
recommend that technique to avoid hardcoding constants, thus being
able to quickly change the internal behaviour of an application.


ermm.. yeah.  you see, i have code which works, on non-Apple environments, which deals with argv's just fine.  i don't want to have a special case just for Apple, unless i have to .. and i'm only asking this question to find out, absolutely and unequivocably, if i have to throw away argv parsing in Apple land and do something else. which i don't -want- to do, but will, if i have to..


I wasn't referring to a Apple specific environment. The Best Practices books I referred to are usually sold by Windows-biased publications (Microsoft Press for one).  This one file could be used on any environment, which makes it more useful than command-line arguments.

However, after reading your other comments, it appears you have a deep-rooted resistance to adapting, so I won't expend any more energy on this topic :)

Lyndsey

--

Lyndsey D. Ferguson

Software Engineer : Platforms Group

Nemetschek North America, Inc.

mailto: email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: How to pass cmd line arguments to my carbon app? (From: Jay Vaughan <email@hidden>)
 >Re: How to pass cmd line arguments to my carbon app? (From: Chris Espinosa <email@hidden>)
 >Re: How to pass cmd line arguments to my carbon app? (From: Jay Vaughan <email@hidden>)
 >Re: How to pass cmd line arguments to my carbon app? (From: Eric Schlegel <email@hidden>)
 >Re: How to pass cmd line arguments to my carbon app? (From: Chris Espinosa <email@hidden>)
 >Re: How to pass cmd line arguments to my carbon app? (From: Jay Vaughan <email@hidden>)
 >Re: How to pass cmd line arguments to my carbon app? (From: Lyndsey Ferguson <email@hidden>)
 >Re: How to pass cmd line arguments to my carbon app? (From: Jay Vaughan <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.