<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Sep 23, 2014 at 1:53 PM, Boian Mitov <span dir="ltr"><<a href="mailto:mitov@mitov.com" target="_blank">mitov@mitov.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">
<div dir="ltr">
<div style="font-size:10pt;font-family:Arial;color:rgb(0,0,0)">
<div>It used to be compatible, however since we rewrote it to use anonymous
methods, and attributes (And reduced the code to 1/4 of the original size in the
process) ~2 years ago, the new versions are not any more Lazarus compatible :-(
.</div></div></div></div></blockquote><div><br></div><div><div>:-(</div><div><br></div><div>Currently I'm programming a lot in Java (for Android) and jQuery (for web), and I miss the dynamic methods in Object Pascal of Free Pascal (Delphi already has, which are anonymous methods) too.</div><div><br></div><div>Nonproductive:</div><div><br></div><div><div>procedure TApp.DoMyButtonClick(Sender: TObject);</div><div>begin</div><div> Alert('Button clicked');</div><div>end;</div></div><div><br></div><div>...</div><div><br></div><div><div>procedure TApp.Create(Sender: TObject);</div><div>begin</div><div> MyButton.OnClick := @DoMyButtonClick;</div><div>end;</div></div><div><br></div><div>or:</div><div><br></div><div><div>procedure TApp.Create(Sender: TObject);</div><div>begin</div><div> MyButton.AddOnClickHandler(@DoMyButtonClick);</div><div>end;</div></div><div><br></div><div>Productive:<br></div><div><br></div><div><div>procedure TApp.Create(Sender: TObject);</div><div>begin</div><div> MyButton.SetOnClick(procedure Test; begin</div><div> Alert('Button clicked');</div><div> end);</div><div>end;</div></div><div><br></div><div>I have a lot of ideas to be implemented in two projects (Brook, dOpf) that I maintain. But unfortunately it will take a while to release the new version of the compiler (FPC 2.8), and this prevents me from continue working to release new versions of this projects.</div><div><br></div><div>I'm thinking to make the new version of this projects compatible with Delphi XE (the company that I work purchased the Delphi XE 2), so I can increase my productivity using new features like the new RTTI, generics and anonymous methods. But for now it will take, because I'm focused on the Java studies.</div></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div style="font-size:10pt;font-family:Arial;color:rgb(0,0,0)">
<div>I have reflected that in the Wikipedia OpenWire page.</div>
<div>I hope one day OpenWire will again be Lazarus/FPC compatible.</div></div></div></div></blockquote><div><br></div><div>Me too! (y)</div><div><br></div><div>I have a RESTful API written with Free Pascal 2.6.4 working like a charm and providing data to my clients via JSON in secure HTTPS connections, but the maintainability of this API could be improved, if the compiler decides to follow the evolution of OO languages. <br></div><div><br></div><div>I have no knowledge to help to create this improvements in the compiler, but I believe that the greatest difficulty here will be to convince the guys to break paradigms and accept that the linguangens are evolving. Our customers are increasingly demanding, so our productivity must accompany their needs, or they look for our competitors companies!</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div style="font-size:10pt;font-family:Arial;color:rgb(0,0,0)">
<div style="font-size:10pt;font-family:Arial;color:rgb(0,0,0)">With best
regards,<br>Boian
Mitov</div></div></div></div></blockquote></div><div><br></div>-- <br>Silvio Clécio<br>My public projects - <a href="http://github.com/silvioprog" target="_blank">github.com/silvioprog</a>
</div></div>