<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 21, 2016 at 12:51 AM, Lars via Lazarus <span dir="ltr"><<a href="mailto:lazarus@lists.lazarus-ide.org" target="_blank">lazarus@lists.lazarus-ide.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, October 17, 2016 7:32 pm, Mehmet Erol Sanliturk wrote:<br>
> One obvious point is that an "event" driven programming knowledge is a<br>
> must to become a competent programmer . The problem is how this can be<br>
> learned . Without knowing how to program an algorithm when a related event<br>
> is occurred , will bring any one to nothing means ( not to a success ) .<br>
><br>
<br>
An interesting question is what is an event and isn't in some way or<br>
another all programming based on events that occur?<br>
<br>
The concept of callbacks is very similar to events. you make a callback<br>
when something happens, just like an event. This can be done even in old<br>
turbopascal programs or console mode programs..<br>
<br>
I'm not so sure event driven programming is a must to become a competent<br>
programmer, I would have to think about that. Events could (may) force a<br>
programmer to think about programs in a certain way... when there are<br>
alternatives? or are events the only alternative just in another form<br>
(callbacks, or calling procedures). It begs the question about whether<br>
events are just procedures being called, which is the same as any<br>
programming methodology since all programs "call procedures".<br>
<br>
Is a compiler event driven? A competent programmer could write a compiler,<br>
or a parser. Are they necessary to have event driven architectures?<br>
<br>
i.e. is the fpc compiler event driven, even if not officially event driven<br>
someone ended up reinventing events in it? From what I understand Michael<br>
V. C.'s documentation tool is event driven which differs from the fpc<br>
compiler.  However I beg the question:  is all programming event driven in<br>
some way since events are just "calls to procedures". Of course that is<br>
simplifying it, but "what is an event?" would be a good computing science<br>
article to write. If I had any time..<br>
<span class="gmail-HOEnZb"><font color="#888888">--<br>
______________________________<wbr>_________________</font></span><br></blockquote></div><br><br><br><br><div class="gmail_extra">Please see the following pages :<br></div><div class="gmail_extra"><br><a href="https://en.wikipedia.org/wiki/Event-driven_programming" target="_blank">https://en.wikipedia.org/wiki/<wbr>Event-driven_programming</a><br>( Event-driven programming )<br><br><br><a href="https://en.wikipedia.org/wiki/Imperative_programming" target="_blank">https://en.wikipedia.org/wiki/<wbr>Imperative_programming</a><br>( Imperative programming )<br><br><br><a href="https://en.wikipedia.org/wiki/Category:Events_%28computing%29" target="_blank">https://en.wikipedia.org/wiki/<wbr>Category:Events_(computing)</a><br>( Category:Events (computing) )<br><br><a href="https://en.wikipedia.org/wiki/Category:Programming_paradigms" target="_blank">https://en.wikipedia.org/wiki/<wbr>Category:Programming_paradigms</a><br>( Category:Programming paradigms )<br><br><br></div><div class="gmail_extra">You can find plenty of information in the above pages and in their linked pages .<br><br><br></div><div class="gmail_extra">Lazarus IDE : An example of event driven programming<br></div><div class="gmail_extra">FPC : An example of imperative programming<div class="gmail-yj6qo gmail-ajU"><div id="gmail-:p3" class="gmail-ajR" tabindex="0"><img class="gmail-ajT" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div><span class="gmail-HOEnZb gmail-adL"><font color="#888888"><br></font></span></div><span class="gmail-HOEnZb gmail-adL"><font color="#888888"><div class="gmail_extra"><br><br><br></div><div class="gmail_extra">Mehmet Erol Sanliturk<br></div><div class="gmail_extra"><br></div></font></span><br><br><br></div></div>