K
Khookie
Hi all
OK, some stuff not necessarily related to the C spec, but please read
- I would really appreciate advice from your collective experience.
I'm currently writing a piece of software for the medical industry.
It's going to be a HTTP server app serving pages so that multi-user
deployment is real simple (and other reasons).
Everytime I go to somewhere like Reddit/Slashdot/etc., there's always
news about Python/Ruby/Lisp/etc. - so I get an itch to go back to
them, especially Python.
I always find myself thinking whether I've made the right choice with
C. At the moment, I find myself learning & reinventing stuff for C a
fair bit. And I seem to be doing lots of debugging as well. For
example earlier today, I forgot to update the header file when I
repositioned a few char pointers in a struct. This stuffed me for
about 2 hours - I couldn't figure out why reading struct values in
another module had completely different values than to the module
itself. Anyhow, I digress .
How are people's experiences with productive C coding? Do you find
that you reach a certain point where you're fairly productive with C
(not too much debugging, easier to add features, you're reusing your
previously implemented functions and you know the standard library
pretty well, etc.)?
I also considered implementing the project in Python and then porting
to C once it reaches maintenance mode... but then I'm not sure whether
the gains made by sorting out a nice program structure quicker and
having lots of libraries will be outweighed when I need to bring it
over to C? Maybe I should check out an alternate language like C++/D?
Anyone with thoughts in these areas?
Chris
OK, some stuff not necessarily related to the C spec, but please read
- I would really appreciate advice from your collective experience.
I'm currently writing a piece of software for the medical industry.
It's going to be a HTTP server app serving pages so that multi-user
deployment is real simple (and other reasons).
Everytime I go to somewhere like Reddit/Slashdot/etc., there's always
news about Python/Ruby/Lisp/etc. - so I get an itch to go back to
them, especially Python.
I always find myself thinking whether I've made the right choice with
C. At the moment, I find myself learning & reinventing stuff for C a
fair bit. And I seem to be doing lots of debugging as well. For
example earlier today, I forgot to update the header file when I
repositioned a few char pointers in a struct. This stuffed me for
about 2 hours - I couldn't figure out why reading struct values in
another module had completely different values than to the module
itself. Anyhow, I digress .
How are people's experiences with productive C coding? Do you find
that you reach a certain point where you're fairly productive with C
(not too much debugging, easier to add features, you're reusing your
previously implemented functions and you know the standard library
pretty well, etc.)?
I also considered implementing the project in Python and then porting
to C once it reaches maintenance mode... but then I'm not sure whether
the gains made by sorting out a nice program structure quicker and
having lots of libraries will be outweighed when I need to bring it
over to C? Maybe I should check out an alternate language like C++/D?
Anyone with thoughts in these areas?
Chris