Re: Reddit rewritten in Python
- From: Peter Seibel <peter@xxxxxxxxxxxxxxx>
- Date: Sat, 10 Dec 2005 19:16:45 GMT
Friedrich Dominicus <just-for-news-frido@xxxxxxxxxxxxxxxxxxxxxxx> writes:
> Peter Seibel <peter@xxxxxxxxxxxxxxx> writes:
>
>>The main one is that by running your software on lots of different
>>platforms from the very beginning you smooth out portability
>>problems early. Mostly I'm thinking of things like developers making
>>assumptions based on the platform they are developing on that are
>>not warrented based on the specifications of the language or library
>>they are using. In my experience sorting these things out earlier,
>>while not free, tends to lead to more robust software down the line.
> Well that might be but if you are not forced by the outside, why
> should you care? It's better to spend the time on the platform you
> know and write "good" software. I can not see any evidennce that
> Portability was a requirement.
It's true that if you absolutely know what platform you're going to
support, any work you do to support other platforms is wasted
effort. However, in my experience you rarely know that 100% when you
start. And by just having a bit of heterogeneity in development
platforms you are forced to deal with platform differences a little
bit at a time at relatively low cost; when you figure out what
platform you really need to support it turns out to be easier and your
software is more robust than it would have been if you developed for
only a single platform.
This is *especially* true when writing multithreaded code--different
OS's and even diffenent language implementations or VMs can have
different enough threading mechanisms to expose different concurrency
bugs. If you only run on one platform bugs can lie dormant for longer;
then when circumstances force you to add a new platform these dormant
bugs manifest themselves and you kill yourself trying to track them
down. If you had used a mix from the beginning, these bugs would have
been discovered sooner and the code would be more correct and thus
easier to adapt to new circumstances.
-Peter
--
Peter Seibel * peter@xxxxxxxxxxxxxxx
Gigamonkeys Consulting * http://www.gigamonkeys.com/
Practical Common Lisp * http://www.gigamonkeys.com/book/
.
- References:
- Reddit rewritten in Python
- From: Ravi
- Re: Reddit rewritten in Python
- From: Pascal Costanza
- Re: Reddit rewritten in Python
- From: bradb
- Re: Reddit rewritten in Python
- From: Edi Weitz
- Re: Reddit rewritten in Python
- From: Rob Warnock
- Re: Reddit rewritten in Python
- From: Edi Weitz
- Re: Reddit rewritten in Python
- From: Peter Seibel
- Re: Reddit rewritten in Python
- From: Friedrich Dominicus
- Reddit rewritten in Python
- Prev by Date: Re: Is Greenspun enough?
- Next by Date: Re: Using asdf with lispworks personal
- Previous by thread: Re: Reddit rewritten in Python
- Next by thread: Re: Reddit rewritten in Python
- Index(es):
Relevant Pages
|