mobileControlCreate: misspelled "input", no compiler error
Posted: Tue Nov 12, 2019 11:59 pm
A little rant, if I may. I need to vent.
Using mobileControlCreate to make a text field, I had misspelled "input" as "inupt" and my code compiled without error and ran without producing any errors other than my input field did not appear. The misspelled word wasn't even highlighted in the code editor. In fact, I only noticed the error when I was finally pasting my code into the forum here and "input" was underlined as being misspelled.
I'm kind of in shock that mobileControlCreate allows you to specify an invalid term for the kind of control you want to create. This seems to go against the one of the core philosophies of LiveCode. In fact, I just watched a YouTube video of Kevin Miller presenting about LiveCode at a conference (it's the one where he makes an iPad app in under 3 minutes) and one of the things he was saying is that this language doesn't make you waste time trying to find things like missing symbols (like a missing semicolon or a mismatched parenthesis). Well, in the case of mobileControlCreate, it certainly does and, it doesn't even give you the courtesy of kicking out an error. It just quietly goes about its business making you wonder why your control isn't appearing.
Ok, rant over. Maybe someone from LiveCode will read this and do something about it.
Using mobileControlCreate to make a text field, I had misspelled "input" as "inupt" and my code compiled without error and ran without producing any errors other than my input field did not appear. The misspelled word wasn't even highlighted in the code editor. In fact, I only noticed the error when I was finally pasting my code into the forum here and "input" was underlined as being misspelled.
I'm kind of in shock that mobileControlCreate allows you to specify an invalid term for the kind of control you want to create. This seems to go against the one of the core philosophies of LiveCode. In fact, I just watched a YouTube video of Kevin Miller presenting about LiveCode at a conference (it's the one where he makes an iPad app in under 3 minutes) and one of the things he was saying is that this language doesn't make you waste time trying to find things like missing symbols (like a missing semicolon or a mismatched parenthesis). Well, in the case of mobileControlCreate, it certainly does and, it doesn't even give you the courtesy of kicking out an error. It just quietly goes about its business making you wonder why your control isn't appearing.
Ok, rant over. Maybe someone from LiveCode will read this and do something about it.