Re: Any experience with "The Last One"?

From: Gerry Quinn (gerryq_at_indigo.ie)
Date: 11/29/03


Date: Sat, 29 Nov 2003 09:00:46 GMT

In article <bq4s6m$clb$6@sunnews.cern.ch>, Dan.Pop@cern.ch (Dan Pop) wrote:
>It's the other way round: safe languages get you used to the idea that
>if you got it wrong nothing catastrophal is going to happen. Furthermore,
>BASIC gets you used to the idea that it is the implementation that takes
>care of string allocation and you never have to worry about such issues.

Nothing catastrophic happens if you get a C program wrong either -
catastrophes happen when programs with bugs are deployed somewhere that
matters, and that applies to bugs in all languages.

>It's better to get experience with C programming having the security
>issues in mind. As a beginner, even when doing the wrong things from
>the security point of view, I was perfectly conscious about the risks
>I was taking. But I decided that it was the right thing to do, since
>the purpose of the program was experimenting with other things and
>doing everything safely would bloat the code and waste my time without
>teaching me anything I didn't already knew. By the time I started writing
>production code (even if it was for my exclusive usage), all the safety
>checks were in place.

There's not much reason for writing production code in C these days,
IMO. But I don't think a few safety issues have much relevance. Bugs
are possible in any language.

- Gerry Quinn



Relevant Pages

  • Re: Any experience with "The Last One"?
    ... catastrophes happen when programs with bugs are deployed somewhere that ... and that applies to bugs in all languages. ... There's not much reason for writing production code in C these days, ...
    (comp.lang.c)
  • Re: C / C++ skills
    ... but the pitfalls of so called safe languages are not that different. ... The only way to be sure of the absence of bugs is to design software to ... the odd operator precedence of C, tripping up new programmers. ... But yeah, a well-worded coding standard, and a culture that cares about it ...
    (comp.arch.embedded)
  • Re: GoTo in Java
    ... but only to some extent - changing languages has to be ... MF has to support a lot of platforms, ... with, say, the free open-source OCaml compilers. ... Sometimes they're bugs in the *old* implementa- ...
    (comp.lang.cobol)
  • Re: Newbie : checking semantics
    ... > I discover that python is really what it is: ... languages are being used in an ever-widening variety of ways. ... You're never sure your code is free of bugs no matter what ... Clearly, declaring variables ...
    (comp.lang.python)
  • Re: PEP-0315--Enhanced While Loop: An idea for an alternative syntax
    ... When writing new loops, ... source for bugs, ... I didn't offer more because I've never used the syntax in my C/C++ code, ... > languages for many years, including plenty of them in the CPython ...
    (comp.lang.python)