www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Trust the programmer

reply Martin <Martin_member pathlink.com> writes:
Sowhat you think of trusting the programmer? 

I think that maybe this time, just this time we could trust the programmer who
writes the code. 

I mean there could be 
int K[char[] : loose]
or 
int K[char[] : strict]

The strict could be default. 

I mean the programmer can't be plain stupid. For example he has to know if he
uses double of int variables. 
Ofcourse we could assume that he is and require that type double variables must
be written in capital letters. But we don't do so.

So he must be abble to tell the variable he uses is double or int, in that same
way he should be abble to tell if the AA he is using is strict or loose.

I think if D goes to be a very strict (too strict) language, it is not good!

What you think?
Jul 12 2005
parent Person <Person_member pathlink.com> writes:
This is abour http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/26519


In article <db1dih$1htl$1 digitaldaemon.com>, Martin says...
Sowhat you think of trusting the programmer? 

I think that maybe this time, just this time we could trust the programmer who
writes the code. 

I mean there could be 
int K[char[] : loose]
or 
int K[char[] : strict]

The strict could be default. 

I mean the programmer can't be plain stupid. For example he has to know if he
uses double of int variables. 
Ofcourse we could assume that he is and require that type double variables must
be written in capital letters. But we don't do so.

So he must be abble to tell the variable he uses is double or int, in that same
way he should be abble to tell if the AA he is using is strict or loose.

I think if D goes to be a very strict (too strict) language, it is not good!

What you think?
Jul 12 2005