On Saturday, January 4, 2014 4:38:39 PM UTC+1, Jeremy Ruston wrote: > > I like Okido's suggestion. Stephan - if you're happy to incorporate that > change, please go ahead and submit the pull request when you're ready. >
As a user I'd prefere Stephan's approach. Nobody but programmers start to count at 0, if they want to select the first item of a list. This is not intuitive. Imo implementing a [length-1] would need a parser. If just eval() is used to calculate the real lenght, it will introduce a security risk. Avoiding eval() will make the code more complex. last[] does remove the complexity. If I say last[3] that's simple ... no advanced parameter handling required. just my 2 cents -mario -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/groups/opt_out.
