justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: Wow, I am seeing one of your code somewhere in github. You used a for loop like this "for (;;)". I never seen this thing and can't find anything on google about it. It basically looks like a loop without any arguments, I think. Then what is the use of this?
Asked by Abhi (106.201.176.x) on July 10 2024, 7:24am
Reply on July 10 2024, 2:38pm:
    it is the same as while (true) {


Comments:
  • Posted by Abhi (106.201.176.x) on July 10 2024, 6:30pm:
    Then why using for (;;) instead of while (true)?

  • Posted by Justin on July 10 2024, 6:41pm:
    personal preference I guess, fewer characters?


Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2024 Justin Frankel. | RSS