Linked by kragil on Wed 23rd Jan 2013 20:26 UTC
Google "Native Client enables Chrome to run high-performance apps compiled from your C and C++ code. One of the main goals of Native Client is to be architecture-independent, so that all machines can run NaCl content. Today we're taking another step toward that goal: our Native Client SDK now supports ARM devices, from version 25 and onwards."
Thread beginning with comment 550413
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[8]: Comment by Laurence
by Nelson on Fri 25th Jan 2013 02:22 UTC in reply to "RE[7]: Comment by Laurence"
Nelson
Member since:
2005-11-29

Generally I'm not a fan of objects containing other objects and passing them as a single parameter. It makes the code less glance-able.

I haven't run into the situation where I need that many parameters and I would seriously question my design if I ever did. Methods in my opinion should have a clear purpose, and so many parameters would seem to indicate its trying to do too much at once.

Reply Parent Score: 2

RE[9]: Comment by Laurence
by lucas_maximus on Fri 25th Jan 2013 09:04 in reply to "RE[8]: Comment by Laurence"
lucas_maximus Member since:
2009-08-18

I think the classic example is passing in a type of "Point", which contains x,y and z values. I agree if there is some massive class hierarchy it is probably being done wrong.

I think my overall point was that (as was yours) is that code shouldn't exist like that in the first place place and is not necessarily the fault of the language.

Edited 2013-01-25 09:05 UTC

Reply Parent Score: 2