User talk:Shlomo: Difference between revisions

→‎Commentary in examples: don't use “works with” if it adds nothing
(Reply to Kevin Reid)
(→‎Commentary in examples: don't use “works with” if it adds nothing)
 
Line 11:
:Hi Kevin, thanks for being nice while I was a bit blunt.
 
:Regarding commentary not becoming unwelcome on RC, I was just showing my lack of experience here by my comment. However, I felt the commentary as it was was out of place in the [[Hello world]] example, where most languages just have some subtle variation on <tt>print("Goodbye World")</tt>. 1. That it "works with Lua 5.1.1" is unremarkable, as it would have worked since the first release (v1.1, 1994). 2. Having two separate versions, one with parens and one without, ''and'' a comment, just seems unnecessary. Since omitting the parens is a syntactic sugar which a minority of languages have, I'd prefer the "without" version, but per your comment I'll revert deleting that particular comment (but with corrections).
:# That it "works with Lua 5.1.1" is unremarkable, as it would have worked since the first release (v1.1, 1994).
:# Having two separate versions, one with parens and one without, ''and'' a comment, just seems unnecessary. Since omitting the parens is a syntactic sugar which a minority of languages have, I'd prefer the "without" version, but per your comment I'll revert deleting that particular comment (but with corrections).
 
:--[[User:Shlomo|Shlomo]] 21:40, 7 May 2012 (UTC)
:: If it would have worked with any version, just remove the “works with”. It's meant to act as a (minor) warning to people to be careful with versioning. –[[User:Dkf|Donal Fellows]] 06:41, 8 May 2012 (UTC)
Anonymous user