962 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $10,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
EireStudio says

FYI : $i stands for integer. Its quite standard.

631 posts
  • Has referred 50+ members
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 100+ items on Envato Market
+6 more
UBLThemes says

FYI : $i stands for integer. Its quite standard.

This is nothing to do with the $i it was a poor example which I apologise for because some people have not got my point. :(

3072 posts
  • Has referred 50+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Had an item featured on Envato Market
+5 more
wickedpixel says

I’m struggling to make even fewer edits in module parameters names. Because I like to reuse them as often as possible with less edits. It depends a lot how you keep your engines structured. It’s cool thing to have $white_item_index and $white_item, to keep things as defined as possible… but sometimes it’s faster to work with vars like $item and $i… and the item type to be defined by dynamic parameters. The best thing you can do is to have comments at the beginning of the function, to define the var types and what it does – i’m very bad at this :D

by
by
by
by
by
by