houxq / flash-console

Automatically exported from code.google.com/p/flash-console
0 stars 0 forks source link

Additionl String argument in the explode, explodech #96

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It could be very nice to be able to add some string description to the explode. 
To achieve something like this:

Users array: {Array length:4

in one call like Сс.explode(usersArray,5,"Users array");

Original issue reported on code.google.com by dmitry....@gmail.com on 6 Oct 2011 at 8:55

GoogleCodeExporter commented 8 years ago
Don't want to throw too many arguments. 
Why not do something like this?
Cc.info("Exploding users arrow:");
Сс.explode(usersArray,5,"Users array");

Original comment by luay...@gmail.com on 8 Dec 2011 at 9:56

GoogleCodeExporter commented 8 years ago
I'm doing it exactly like this right now )
That's why I've asked about some additional argument - to write only one line 
of code instead of two lines. And I've never used explode without additional 
comment - it's hard to determine which object is exploded exactly without any 
additional comments (

Original comment by dmitry....@gmail.com on 8 Dec 2011 at 10:38