168 reputation
6
bio website
location Auckland, New Zealand
age 24
visits member for 2 years, 3 months
seen Apr 12 at 20:50

Feb
26
revised Are there any benefits of using this extra variable in the for loop annotation?
added 2 characters in body
Feb
26
awarded  Nice Question
Jan
30
comment Are there any benefits of using this extra variable in the for loop annotation?
Interesting example. Thank you for sharing.
Jan
30
awarded  Popular Question
Jan
30
answered How do I organizing 2 different projects with shared code
Jan
30
comment S3 image urls in database
@the_ You can consider creating a product record as soon as your users enters the page. This way you have an ID nice and early. You can have a process which cleans out the DB from not finished products.
Jan
30
comment Are there any benefits of using this extra variable in the for loop annotation?
I think we are having a communication breakdown. I'm not arguing with you. For a big array it makes total sense and I would definitely use it. But if there are 5-20 items...
Jan
30
comment Are there any benefits of using this extra variable in the for loop annotation?
I agree. It's good to know about this option, but I probably wouldn't use it very often, unless I get a similar example to your sql query. Thank you☺
Jan
30
comment Are there any benefits of using this extra variable in the for loop annotation?
Thank you. This is a good answer. I have added performance test for javascript sample if anybody is interested: jsperf.com/ninforloop
Jan
30
awarded  Editor
Jan
30
accepted Are there any benefits of using this extra variable in the for loop annotation?
Jan
30
revised Are there any benefits of using this extra variable in the for loop annotation?
Added performance test
Jan
30
asked Are there any benefits of using this extra variable in the for loop annotation?
Jan
26
awarded  Scholar
Jan
26
comment Design Pattern to parse array of objects
Thank you very much☺
Jan
26
accepted Design Pattern to parse array of objects
Jan
26
comment Design Pattern to parse array of objects
Thank you very much for the suggestion, I appreciate it. Would this factory class used to parse objects of one type only or would you use the same factory class for all Services within the application? My application is pretty small, but I would like to know the best practices.
Jan
26
awarded  Student
Jan
26
asked Design Pattern to parse array of objects
Jan
8
awarded  Supporter