I think anyone who can sort out that:
Customer.Lastname was a field in a cursor Form.Height was a property of an object oWord.Print is calling a method on a COM Object
ought to be grateful for a little variation to provide clues.
There's also containership, hierarchy, specificity and order of processing ("last one wins!")
You could either think this is a steaming mess, or a sophisticated declarative language.
On Tue, Mar 29, 2016 at 9:04 AM, Ted Roche tedroche@gmail.com wrote:
Well, it's like explaining to a newbie the phantom record, or why you can RECALL deleted records. It's a quirk of the nature of the beast.
CSS is the worst possible solution to applying style to HTML, except all of the others, to also mis-paraphrase Sir Winston.
CSS has a consistent set of rules, and there is power in understanding how they can be manipulated. There are amazing and wonderful web pages created out of elegant, quirky and sometimes hacky application of CSS.
"Introduction to HTML5 and CSS3" was the topic of The Last Tour of talks I gave, 2007-2014, to Ruby, Linux and WordPress groups. I'm a fan.
On Tue, Mar 29, 2016 at 7:54 AM, AndyHC jarndice@gmail.com wrote:
Hi, looks like you're agreeing with me that the DOM is "a riddle wrapped in a mystery inside an enigma..." - but as Churchill said: "It is a riddle wrapped in a mystery inside an enigma: but perhaps there is a key....."
iow these are tools to crack a problem that shouldn't have been created in the first place! <g>
On 29/03/2016 16:19, Fernando D. Bozzo wrote:
Hi Andy:
Without Intellisense you surely can't remember all VFP form events and properties, but you know that you can do something and can look at the help for the proper syntax, even for commands.
This is the same, you read it once or twice then you know that you can do something, so next time you use intellisense for looking at the options or look at the help for getting the proper syntax.
I don't see this as something "too" difficult to get, but surely can't be analyzed from the VFP perspective, because you can do with CSS many things that you can't with VFP or without many lines of programming in VFP.
If you start thinking of a way to select "elements" or "properties" nested into objects with a syntax smaller and simpler than a select-sql, you surely can arrive at something very similar to this syntax too.
I preffer this: [title~=flower]
Than this: Selects all elements where attribute = "title" and "flower" $ value
And this is only a small example. They can be too much complex than this, and a very long SQL do not add any simplicity to this use case.
Regards.-
2016-03-29 12:11 GMT+02:00 AndyHC jarndice@gmail.com:
Hi, for interest, I've been playing around with developing a web photo gallery. From javascript (which I know a little bit, and am beginning to accept with reservations) this led me to jQuery (which I probably should know but don't) and (for more understanding) on to CSS Selector.... Over the years I have come to accept the OO concept (with the mental reservation that libraries of mutable functions were easier to understand and probably much more efficient). One of the reasons I accepted OO was the simpler interface and less obfustication, even at the cost of efficiency. But this makes APL look intuitive:- http://www.w3schools.com/cssref/css_selectors.asp you have to remember a dozen or so single character prefixes and what they do?
It may not be the fault of CSS Selectors or jQuery, but if not it surely supports my long-standing view that the DOM is an abomination!
[excessive quoting removed by server]