tags:

views:

29

answers:

2

I know its basic but whenever you give parameters to a method are you 'parsing' them, or are you 'passing' them as 'parsing' is something different?!

I've just never been overly sure!

Thanks

+1  A: 

You are passing them. "Parsing" means trying to interpret text or strings and break it down into data elements of some kind. (For example, you could parse a string describing a date to turn it into a date object, or parse a file containing source code and turn it into an executable.)

JacobM
Thanks, its stupidly simple but was bugging me today
Greenhouse Gases
Sure thing. Depending on a speaker's accent, this could be a difficult distinction to hear, actually.
JacobM
+1  A: 

Passing. Parsing is breaking up / interpreting strings.

froadie