On 11/15/2013 01:03 AM, Sieghard wrote:
> And then, it's a little bit funny to read a statement against "source 
> code optimization" from a C programmer, when it is often an expressed 
> concern by such to keep their source code as optimized for their 
> compiler as possible... 

:-) This seems a rather outdated information. The GNU C compiler does 
two or even three completely independent optimization passes.

1) (not sure if this is really a separate step or included in (2) ) 
language dependent stuff,
2) after compiling the source code in a language and arch independent 
intermediate code: Arch independent optimization which potentially 
completely obfuscates the stuff shown in the source code
3) while generating the processor depending output: low level optimization.

Step (1 and) 2 does a lot things that the coder "forgot" (e.g. 
calculating any expression that can be done at compile-time, using 
constants instead of pre-initialized  variables whenever possible, 
eliminating code that never will be reached (e.g. an if clause that 
never will be taken).

Decent C programmers do take advantage of this to make their source code 
more readable.

> But anyway, the Pascal style "with" allows you to keep your source 
> free from naming clutter when the context is clear. If you don't think 
> a "with" makes the code easier to understand, simply _don't use it_. 
> It is _not_ required in any way. 

When replacing "Pascal style 'with' " by "Oberon style 'with' " which 
Martin seems to plan, I do agree.

-Michael

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to