Re: Economy of Expression




"Leslie Sanford" <jabberdabber@xxxxxxxxxxxxxxxxx> wrote in message news:47e74db4$0$6491$4c368faf@xxxxxxxxxxxxxxxxx
I'm wondering what are some approaches, ideas, conventions, etc,. that you
find helps you to get the job done while also helping you to write less
code. My own thought is that if you find yourself writing several
applications that belong to the same domain, you can optimize your
programming approach to fit the domain; hopefully, this leads to a reuseable
toolset that can help automate repeated tasks. Basically, I'm interested in what helps you get more done while writing less code.


Divide the program into four sections. Section one is "this program only, this platform only". Section two is "this program only, any platform", section three is "many programs, this platform only", and section four is "many programs, any platform".
Then put as much into section four and as little into section one as you can.

--
Free games and programming goodies.
http://www.personal.leeds.ac.uk/~bgy1mm

.



Relevant Pages

  • Re: Book about Platform Builder
    ... possibility I see of anyone writing one is for 'resume building and name ... > into platform builder including a lot of changes about directory ... > So when will there be a new book about Platform Builder??? ... > 'Developing Windows CE.net Devices' will be published some lovely day) ...
    (microsoft.public.windowsce.platbuilder)
  • Re: embedded PC
    ... platform should ... Certainly when you use on-chip peripherals you ... Leaving the low level drivers aside, you can of course achieve some of ... flexibility be writing your application program in a way that is not ...
    (comp.arch.embedded)
  • Re: reading multiple files
    ... The question is reasonable and, in my opinion, topical. ... writing a C program would meet the OP's needs better. ... why have a "similar" solution for each platform when you ... But by the time you've learned Perl and written a Perl interpreter for, ...
    (comp.lang.c)
  • Re: Reqst for Information: Loopback device programming
    ... > I am doing an academic project, in which I need to write a loopback ... The platform is Linux, Kernel ... > before writing it to disk. ... For initial experiments I think writing an nbd server in ...
    (comp.os.linux.development.system)
  • Re: what is difference between sizeof and strlen
    ... You just need to know the platform. ... If the standard says that the implementation needs to define something ... (for example, the size of an int), then it's "implementation defined". ... get some sort of "divide by zero" abort. ...
    (comp.lang.c)