E
Eric Smith
Guest
Paul Keinanen <keinanen@sci.fi> writes:
changed compilers in mid-project or when doing maintenance at a later
date. Sometimes that's my decision, and sometimes it's the client's
decision.
job. If you need to write low-level code, and you want it to be portable,
Pascal is the wrong answer, since you'll have to use non-standard language
extensions.
I'm not a big fan of C, but it's certainly suitable for low-level
programming. My criticisms of C are at the other end of the spectrum.
I write a lot of C code because that's what my clients want, and in
the case of Free Software, that's what people are likely to be able
to run.
I prefer strongly-typed languages. I actually do like Pascal, and over
the years I've written a lot of code for clients in UCSD Pascal, Turbo
Pascal, etc., but I wouldn't recommend it to clientis now, especially
for low-level work. I like Ada better; functionally it is almost a
superset of Pascal, but it is significantly better in many regards
including support for low-level programming. However, my clients
generally don't want Ada, partly because it is supported on fewer
target platforms, and partly because they'd have a harder time finding
other engineers to maintain it.
I expect a lot of it to be portable, because on numerous occasions I'veHow much portability do you really expect in some embedded
environment, especially if the hardware architecture is somewhat
awkward.
changed compilers in mid-project or when doing maintenance at a later
date. Sometimes that's my decision, and sometimes it's the client's
decision.
Sure. But that doesn't obviate the need to use the right tools for theIn practice you would still have to separate the platform
dependent functions, which can always be written in assembler,
provided that the HLL supports separate compilation.
job. If you need to write low-level code, and you want it to be portable,
Pascal is the wrong answer, since you'll have to use non-standard language
extensions.
I'm not a big fan of C, but it's certainly suitable for low-level
programming. My criticisms of C are at the other end of the spectrum.
I write a lot of C code because that's what my clients want, and in
the case of Free Software, that's what people are likely to be able
to run.
I prefer strongly-typed languages. I actually do like Pascal, and over
the years I've written a lot of code for clients in UCSD Pascal, Turbo
Pascal, etc., but I wouldn't recommend it to clientis now, especially
for low-level work. I like Ada better; functionally it is almost a
superset of Pascal, but it is significantly better in many regards
including support for low-level programming. However, my clients
generally don't want Ada, partly because it is supported on fewer
target platforms, and partly because they'd have a harder time finding
other engineers to maintain it.