code_junkie

What is a programming idiom?

Nov 12th, 2011
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. for (i=0; i<10; i++)
  2.  
  3. for ($i = 1; $i <= 10; $i++)
  4.  
  5. foreach ($arr as $value)
  6.  
  7. (1..10).each
  8.  
  9. array.each
  10.  
  11. if(c=GetValue())
  12. {...}
  13.  
  14. c = GetValue();
  15. if (c != 0)
  16. {....}
  17.  
  18. Iterator foo;
  19. foo.reset();
  20. while (foo.next())
  21. {
  22. print(foo.value());
  23. }
Add Comment
Please, Sign In to add comment