Ok, if you don't have B+ then forget what I just said.. tho you *might* want to buy B+ and try to start with events.. once you pop you can't stop! ^_^
The difference between polling and events:
With polling there's a mainloop which is processed always. Which kinda hogs the cpu.
With events you work together with the underlaying OS. The only time something happens is when there's an event, for the rest your OS can do its thingies.
Programming with events is: waiting for events and act according to one. It's different compared to polling, but strangely enough I really didn't notice moving from polling to event-based programming when I switched from b3d to B+.
The difference between polling and events:
With polling there's a mainloop which is processed always. Which kinda hogs the cpu.
With events you work together with the underlaying OS. The only time something happens is when there's an event, for the rest your OS can do its thingies.
Programming with events is: waiting for events and act according to one. It's different compared to polling, but strangely enough I really didn't notice moving from polling to event-based programming when I switched from b3d to B+.