Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows Desktop Apps
Message
From
27/04/2016 14:56:33
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01635157
Message ID:
01635487
Views:
100
Likes (1)
>>jQuery('#input').on('blur', function() { var inputValue = $(this).val();});
>>""input type='text' v-on='blur':"onBlur in your html file"""

>>That was two lines of code - but it separated the locations. Kind of a separation of duties in my mind.

>>So understanding Vue's event system is really not the big deal that you make sound like.

In fairness, the above constructs are simple enough, but compare to the VFP PEM Editor introduced over 20 years ago, or if you prefer code
PROCEDURE btndelete.Click
*---do work here
FWIW I first wrote code for the PDP11 in the late 1970s. Lack of legibility was justified by the need to fit programs into as little as 128 bytes. Then came TRSBasic showing why a 4GL is a massive uplift in legibility and accessibility. Fox, VB and Delphi added power but still were mostly recognizable to a 4GL programmer. Seems to me that more "modern" systems have headed back towards the arcane end of the spectrum.

Hank's point is that mature ecosystems encapsulate as many of the internal whirly bits as possible. Einstein used to talk about simplifying things without making them simpler. This encapsulation/simplification philosophy is honored by every discipline apart from law and IT, both of which seem to prefer the opposite direction that doesn't help customers AFAICS.

I know that some IT folk like delving into the engine- but that does not make it best practice since we ought to pay for our own hobbies. ;-)

Time for the next Dr Dave to deliver a long-overdue displacing event? ;-)
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform