Just to clarify: This is for the Processing language/development, which is a close sister of Arduino.
delay() has been removed. Nobody understood what it did, and when they did, they didn't understand why it was there. Huge source of confusion, especially for beginning students
Considering the many questions and problems on this forum thread on delay() ... take the same approach. Stop using delay(). It is only usefull for tiny testprograms.
(Edited: Clarified this is not Arduino)