[idle] OT: neshto ljubopitno
- From: Rangel Dokov <rangel7m@xxxxxxxxx>
- To: idle@xxxxxxxxxxxxx
- Date: Thu, 31 Jul 2003 20:06:58 +0100 (BST)
Tova e malka chast ot ANSI C Rationale. Na men mi se stori dosta stranno
opredelenie.
----
Keep the spirit of C. The Committee kept as a major goal to preserve the
traditional spirit of C. There are many facets of the spirit of C, but
the essence is a community sentiment of the underlying principles upon
which the C language is based. Some of the facets of the spirit of C can
be summarized in phrases like:
Trust the programmer.
Don't prevent the programmer from doing what needs to be done.
Keep the language small and simple.
Provide only one way to do an operation.
Make it fast, even if it is not guaranteed to be portable.
The last proverb needs a little explanation. The potential for efficient
code generation is one of the most important strengths of C. To help
ensure that no code explosion occurs for what appears to be a very simple
operation, many operations are defined to be how the target machine's
hardware does it rather than by a general abstract rule. An example of
this willingness to live with what the machine does can be seen in the
rules that govern the widening of char objects for use in expressions:
whether the values of char objects widen to signed or unsigned quantities
typically depends on which byte operation is more efficient on the target
machine.
-----
Tova donqkyde e svyrzano sys stila na koda kojto shte pishem. Ako tozi
otkys kazva neshto to e: "Programista trqbva da si opravq bakiite, ima
pylna svoboda da omazhe kakvoto pozhelae. Ako si vyrshi rabotata dobre i
koda shte e dobyr."
Nadqvam se da si vyrshim rabotata dobre.
________________________________________________________________________
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
- Follow-Ups:
- [idle] Re: OT: neshto ljubopitno
- From: Ivaylo Riskov
Other related posts:
- » [idle] OT: neshto ljubopitno
- » [idle] Re: OT: neshto ljubopitno
- [idle] Re: OT: neshto ljubopitno
- From: Ivaylo Riskov