Re: Php invented by a former DECcie ?
- From: "Richard B. Gilbert" <rgilbert88@xxxxxxxxxxx>
- Date: Thu, 10 Apr 2008 23:33:38 -0400
Arne Vajhøj wrote:
Simon Clubley wrote:On 2008-04-08, Arne Vajhøj <arne@xxxxxxxxxx> wrote:> For example, looking at traditional languages, I would suggest that,Simon Clubley wrote:AIUI, it's not so much the fact that it's a easy to use language forSecurity is not a feature in programming languages. Security depends
beginners that's the problem, but the fact that it's a easy to use
language with security tacked on afterwards that's the problem.
on how the code is written.
Strictly speaking, you are correct.
However, I would argue that design decisions within the programming
language can help with how secure that code is by default.
> for programmers of equal capability, code written in Ada is more likely
> to be secure than code written in C.
I guess you are more talking about robustness than about security.
A language like Ada prevents various array index out of bounds
and wild pointers problems resulting in garbage data being
read, data being overwritten or crashes.
But PHP has none of those problems !
(the dynamically typed characteristics of PHP then creates
new types of potential programming bugs, but they are difficult
to compare with C)
Arne
ISTR that ADA is also strongly typed. It is not easy to store an int into a float. It can be done but you have to first explain to the compiler yes, I really, really, mean that. If a function takes two arguments, you had better supply exactly two. And so on.
It makes most of the most common screwups extremely difficult. You can still write bad code in Ada but you really have to work at it. I have seen exactly one shop that used it! I did a little little work for them
fourteen or fifteen years ago; installing some software
.
- Follow-Ups:
- Re: Php invented by a former DECcie ?
- From: Arne Vajhøj
- Re: Php invented by a former DECcie ?
- From: Tom Linden
- Re: Php invented by a former DECcie ?
- References:
- Php invented by a former DECcie ?
- From: Didier_Toulouse
- Re: Php invented by a former DECcie ?
- From: Ken Robinson
- Re: Php invented by a former DECcie ?
- From: Bill Gunshannon
- Re: Php invented by a former DECcie ?
- From: Arne Vajhøj
- Re: Php invented by a former DECcie ?
- From: Simon Clubley
- Re: Php invented by a former DECcie ?
- From: Arne Vajhøj
- Re: Php invented by a former DECcie ?
- From: Simon Clubley
- Re: Php invented by a former DECcie ?
- From: Arne Vajhøj
- Php invented by a former DECcie ?
- Prev by Date: Re: Longtime VMS system manager/programmer available
- Next by Date: Re: set audit/listener
- Previous by thread: Re: Php invented by a former DECcie ?
- Next by thread: Re: Php invented by a former DECcie ?
- Index(es):
Relevant Pages
|
|