Re: Programming (was: Re: GIF conversions (was: Re: History))
Matthew Thomas (mpt...@spamfree.land) wrote: : CJRandall wrote: : > [][ i dont think it matters what language a program is written in ... : > [][ ... as long as it does the job, doesn't bleat un-inteligibly from : > [][ incorrect input and allows a method of escape, i'll use it. : Up to a point. But the simple fact is that some programming languages : (including BASIC and, to a lesser extent, C) encourage poor programming This is an ancient debate, in some form older than programming itself, and it seems likely that the truth is somewhere in the middle. But for what it's worth, I maintain that well organized code can be written in any language if only the programmer can keep the program organized in his mind instead of messing around without planning, and that extending the possibilities offered by the language can never make this harder. In particular, it is quite possible to write well-organized programs in assembly, and in fact a good programmer can use techniques which, while by no means "messy", can not be easily done in any high-level language. It is sometimes possible to write an efficient and elegant algorith in assembly which, translated to a high-level language, requires bloated and inelegant workarounds of the language's "features". : practice -- it can be mathematically proven that BASIC's GOTO statement : is not necessary in any program, for example, and GOTOs can lead to some : horrible bugs, but it is still possible to do them in either of the : above languages. Yes, it is not required - and there is no need to use it, at least not in modern BASICs. I seldom did, back when I was playing with BASIC. The design reason for including goto in C is clear - you can do it in assembly anyway. There may be cases where using goto would produce more elegant code, and in those cases it is good to have it. (An entirely different matter is that there are a few cases in C where, due to language limitations, not using goto may seriously hurt performance.) : Other languages, on the other hand -- Modula-2, C++, Java et al, : encourage (if not actually require) good programming practice, but : usually at the expense of making it harder to knock up quick programs in : the manner which Martin enjoys. Yes, and that may make them useful teaching tools, but for writing efficient code freedom of choice is always a good thing. Of course, a determined programmer can write ugly code in any language. (Many limitations in Java etc. of course have a purpose, namely making garbage collecting practical - which in itself is considered by many to be the worst possible memory management scheme.) Anyone not believing the above might do well to study D.E.Knuth's _The Art of Computer Programming_ which should contain plenty of illustrative examples. Heck, read them in any case if you haven't. :-) : But that's enough off-topic posting for a year or two :-) Indeed. Let's try to stay on topic from now on. No ObAscii here, this damn lagging editor is driving me crazy. So sue me.. -- __,,,------._ ,-/| `-. Ilmari Karonen (ilt...@sci.fi) ^ All opinions expressed /, '\, `. ,|"-;;.__ http://www.sci.fi/~iltzu/ | in this message are my / ' 4(_,-_,-"_,/.' `'--' ,------------------------' own. If you want me to "`-(_,-"" `-' (,' itz | make some for you too, you should pay for them!
Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,b95c078a91be9537 X-Google-Attributes: gidf996b,public From: ilt...@sci.fi (Ilmari Karonen) Subject: Re: Programming (was: Re: GIF conversions (was: Re: History)) Date: 1998/08/31 Message-ID: <6serjt$9hn$1...@tron.sci.fi>#1/1 X-Deja-AN: 386518622 Distribution: world References: <903...@mnementh.southern.co.nz> <35E...@spamfree.land> Organization: (dis)Order of the Holy Spoon (or whatever) Newsgroups: alt.ascii-art
Related ASCII art in the Gallery
Explore these categories from our collection of 11,000+ artworks:
|\/\/\/| | | | | | (o)(o) C _) | ,___| | / /____\
|HHHHH/"\"\HHHHHHH| |HH`\|_.-)'|/'dP,H| |Hb.`\\_/_//'.oddH| |HHHb|`.\/\,'|HHHH| |HHHHHb/\/\/|HHHHH| |"""""""""""""""""| | |"" /\ \ / |"" | | |__/--\ \/ __| |
_________
/___ ___\
//@@@\ /@@@\\
\\@@@/ \@@@//
\___ " ___/
| - |
\_/ jrjc ______
/|_||_\`.__
( _ _ _\
=`-(_)--(_)-'
hjw .="=. _/.-.-.\_ ( ( o o ) ) |/ " \| \'---'/jgs /`"""`\\
_________ | _____ |\ | |\ ___| | \ | | | | | | | | |___| | | \ | |____\| | \|_________| Andy Johnson
Make your own ASCII art
Turn images, text or 3D into ASCII, or draw your own – right in your browser.
About this message.
This message was posted publicly to the newsgroup
alt.ascii-art
in 1998 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked.
The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can.
Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.
Report this message
Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.