Re: [9fans] speaking of kenc
On Tue, May 01, 2007 at 10:56:34AM -0400, Devon H. O'Dell wrote:
I've seen more than my fair share of tf = !!value; out there, which is
just awful to read.
Yes it is, but in the 25 years that I have been programming in C,
I've seen many atrocities. What I haven't seen is a compelling
need for a boolean type. As Brian and Dennis say in the preface
to K&R, C is a small language. That smallness makes it possible
for me to maintain a mental model of what machine code the
compiler will generate for a given C statement and to keep
essentially the whole language in my head. This, in turn, allows
me to write better code. Notice how one can't make similar
statements about, say, C++ (at least I can't). The last thing C
needs is a bunch of cruft to satisfy language purists or to save
the incompetent from themselves.
jcs
P.S. Sorry Russ. I'll stop now.
.
Relevant Pages
- Re: How do I dig a memory value out?
... language hit the 'sweet spot' between a higher level ... > that would compile to machine code. ... > A friend of mine who was working with lasers, (and also had an Atari) ... Someone brought it into a user group meeting. ... (microsoft.public.vb.general.discussion) - Re: MSIL or Bytecode taught instead of ASM
... efforts of the "high level language" communities, ... spent learning any given assembler or assembly language. ... said IL (unlike the basic architecture). ... traditional VM (the high or low-levelness between bytecode and machine code ... (comp.programming) - Re: Universal Computer Truths
... language like Forth or C or Lisp or Ruby or Python or *whatever*, ... that what is being done in assembly (and/or machine code) is correct for the ... A simple example is how different compilers implement x86 instructions for ... You don't even know that the assembler is producing the ... (comp.lang.forth) - Re: Is Procedural Paradigm a basis of OO Paradigm?
... Now a given language may allow for such, ... I don't know machine code so I cannot be sure. ... But it is saying that the a specific program under a specific mapping ... roman numerals equivalent to mathematical sentences written in arabic ... (comp.object) - Re: method calls faster than a loop?
... When you start talking about machine code, you're no longer talking about just the programming language, but also the compiler and Virtual Machines as well. ... More specifically, there's theoretically no reason why you couldn't write a compiler that takes C source code and emits Java bytecode, or which takes Java source code and emits native Win32/x86 executables. ... (comp.lang.java.programmer) |
|