![]() |
|
|
|
|
1
15th October 18:55
External User
Posts: 1
|
name=value
It was not hard for me to implement using TEXT_FILE_READ in SmartEiffel, then I tried to compile it in ISE Eiffel and I found that I have to use PLAIN_TEXT_FILE as functionally closest alternative, but now I cannot go back to SmartEiffel. Sounds like a trivial thing - reading from text file and I have a case for preprocessor, and the preprocessor I know is one supplied with Gobo lib. Whet is the alternatives to preprocessor ? Maybe having second copy of same class with compiler specific code and *.se extension and track the differences in makefile ? Now I hope that this message will catch attention of someone who have experience with medium to large size eiffel projects. When I am starting project construction phase using C++ I have to answer questions like "Are we going to support UNICODE uniformly" or "Are we going to use namespaces". Answers to this questions usually have great impact on later stages of the construction phase. Are there similar questions and decisions I have to made in the beginning of Eiffel project ? What are they ? What would you think of first if you starting even small Eiffel project ? Thank you. Cheers, --- Alexei Polkhanov Sr. Consultant/Software Systems Analyst Tel: (604) 719-2515 E-mail: usenet@monteaureus.com http://www.monteaureus.com/ |
|
|
|
|
3
15th October 18:55
External User
Posts: 1
|
Gobo genenrates the various versions of the files from a single file
using the preprocessor gepp. Another way is to do the following: CLIENT_CLASS ====> TEXT_FILE_INTERFACE ^ +------+------+ | | PLAIN_TEXT_FILE <== ISE_TEXT_FILE SE_TEXT_FILE ==> TEXT_FILE_READ The vertical arrows are inheritance, the horizontal, client-supplier. As I have not played aorund with gepp and friends, I do not know the advantages and disadvantages of the two approaches. -- Peter Horan School of Information Technology peter@deakin.edu.au Deakin University +61-3-5227 1234 (Voice) Geelong, Victoria 3217, AUSTRALIA +61-3-5227 2028 (FAX) http://www.cm.deakin.edu.au/~peter -- The Eiffel guarantee: From specification to implementation -- (http://www.cetus-links.org/oo_eiffel.html) |
|