Hi all..

Lately while working on the psclang project we're taking a deep look at 
how code is transformed into resulting WHIRL.  As a result I'm wondering 
in general how others feel the best approach to deal with this is..

For example..
http://cboard.cprogramming.com/c-programming/130584-i%3Diplusplus.html

The code in question on that topic is..
i=i++;

This is really bad code imho, but it conforms to the C spec.  I'm going 
to guess the author had intended i to be incremented, but can anyone 
think of a reason why we wouldn't want to do that?

On a much larger scale you'll have codebases like ffmpeg which is full 
of bad programming practices and abuses the (un)defined behaviors of C99 
as best they can...  (I'm happy to go into those examples if anyone 
likes offlist as well)

Best,

./C

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to