AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
![]() ![]() Yes, the hints are usually there, but they are sometimes subtle and/or buried deep. I don't want this to turn into an "I'm right, you're wrong" kind of thing. That was obviously another clue, but not one I discovered until then because I don't typically copy and past from the syntax bar in the docs when writing code. Yes, I did notice that when I was creating that post and I did have to manually type them in. Most web browsers will not include the "optional" brackets when you copy syntax to the clipboard, because they are inserted by CSS rules. Might I suggest that anywhere square brackets are actually required within the line of code, it is pointed out explicitly immediately above or below the syntax diagram so that we know they are not just optional parameters. ![]() It is particularly easy with version 2 since everything expects expressions. In the vast majority of instances, I can just look at the syntax guide and know how to format the line without needing an example. ![]() True, and examples are great, but you shouldn't have to go there to understand a function's syntax format. I know, you'll probably say that it's right there in the example. ![]() All I found was the above mentioned rule in Concepts. Perhaps it's here, somewhere, but I couldn't find it. Ok, perhaps that's it, but where is this documented. They also start before a comma, rather than after. How was this different than Format? Close examination revealed that the brackets in Format were a different color in the docs than the rest of the text. you mean the square brackets are actually required? Code: Select all Create the ListView with two columns, Name and Size: ![]()
0 Comments
Read More
Leave a Reply. |