Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-05

New coding process - TDD is now old school

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Dmitry Boyarintsev
to Graeme Geldenhuys

On Tue, May 12, 2015 at 6:47 PM, Graeme Geldenhuys <

Show quoted text 5 lines
wrote: :-) Despite of the video could be funny and quite smart (though not original,

since matching code to human language has been out for years)

I foresee the video back-firing at pascal developers: "Are you a pascal (delphi) developer? - go sign about it!" or "Pascal (delphi) developers) are real code monkeys".

All in all, if the best application of a language is to create a song video, we're at the dusk of programming languages evolution. Or maybe at the dawn of the regression.

But still the video is worth seeing (... and porting to Lazarus)

thanks,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150512/d630d79d/attachment.html>

Reply by email

Dmitry Boyarintsev
to Dmitry Boyarintsev

And yes.. the video explains the purpose (and critical need) of '&' identifiers
http://freepascal.org/docs-html/ref/refse4.html#x16-150001.4

On Tue, May 12, 2015 at 10:56 PM, Dmitry Boyarintsev <

Show quoted text 10 lines
wrote: On Tue, May 12, 2015 at 6:47 PM, Graeme Geldenhuys < > wrote: > :-) > > But still the video is worth seeing (... and porting to Lazarus)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150512/e9491630/attachment.html>

Reply by email

Dmitry Boyarintsev
to Dmitry Boyarintsev: On Tue, May 12, 2015 at 6:47 PM, Graeme Geldenhuys < since matching code to human…

On Tue, May 12, 2015 at 10:56 PM, Dmitry Boyarintsev <

Show quoted text 6 lines
wrote: ... and porting to Lazarus and done! https://havefunsoft.com/share/fpccodemonkey.zip

(win32 tested)

Sadly enough, the GUI version is using Application.ProcessMessages! You might find that it runs "nonblocking" proc (with fancy anonymous/closure functions used), but in the end it all executes in the main loop running ProcessMessages.

As a matter of fact, the same result could be achieved with TTimer used - just wait for the first timer event and then sign the song (with ProcessMessages)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150513/aeef90c0/attachment.html>

Reply by email