Code: Select all
KEY VALUE
A apple true
B bottle true
C cradle true
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
KEY VALUE
A apple true
B bottle true
C cradle true
I completely echo the above.FourthWorld wrote: ↑Thu Dec 05, 2019 5:09 pm1.) the online version needs to be kept current with the last stable version.
2.) the Linux version of LC needs a working browser control so it becomes possible once again to consult the Dict offline.
3.) the formatting is FUBAR compared to the old version made entirely in LC
4.) Additionally, like much of the product experience, it would be very beneficial to the perceived value of LC to have a style guide for all UI elements, and ensure that all components of the IDE adhere to it.
5.) And lastly, having someone with skills and experience in UX contributing to the Dict would help. It's a fine work in terms of engineering, but a poor user experience. Having defaults that include everything under the sun turned on results in MANY searches yielding seemingly duplicate results, mish-mashing glossary and other elements with the actual Dict definitions needed for immediate scripting. This creates uncertainty for the user, who is unsure which of several similar or even identical entries to pick, creating at least lost time and at worst an adverse reaction the the product design. Some prudent judgment about use cases would clean that up, making it more efficient and enjoyable to use.
I'm guessing it was strictly arbitrary, you have to put *something* in there. It could just as easily be 1 or 0.FourthWorld wrote: ↑Thu Dec 05, 2019 8:34 pmThanks. Yes, the description was clear enough. It host seemed a curious choice to have a specific string as the default value. I'm assuming there was a reason for that choice; it might be useful to know what that reason was.
Since those who know haven't answered, I'm guessing "true" has the primary advantage of simplifying testing the existence of a key.jacque wrote: ↑Fri Dec 06, 2019 5:42 pmI'm guessing it was strictly arbitrary, you have to put *something* in there. It could just as easily be 1 or 0.FourthWorld wrote: ↑Thu Dec 05, 2019 8:34 pmThanks. Yes, the description was clear enough. It host seemed a curious choice to have a specific string as the default value. I'm assuming there was a reason for that choice; it might be useful to know what that reason was.
You may be right, that sounds like a very Waddingham thing to do.Since those who know haven't answered, I'm guessing "true" has the primary advantage of simplifying testing the existence of a key.
This [empty is false = false] is definitely not a bug.
empty is the string ""
true is the string "true"
false is the string "false"
So empty is not true and empty is not false.
In the cases where the result of an expression is used as a condition, e.g. if <condition>, the engine does:
if <condition> is "true" then
...
end if
i.e. The only things considered to be 'true' are things which convert to the string "true".