Yegappan wrote:
> On Sun, Jul 21, 2019 at 5:49 AM Bram Moolenaar > <[email protected]> wrote: > > > > I find this operator rather obscure, I can't find it in popular languages. > > Also, it's easy enough to use the "if" construct. It's more lines, but it's > > easier to understand. > > I also haven't heard anyone ask for this, and suspect it won't be used much > > because plugin developers do not know it exists. > > Keeping the Vim script language simple is more important, in my opinion. > > > > In that case, the following item needs to be removed from the todo list: > > - Add ":let var ?= value", conditional assignment. Patch by Dave Eggum, > 2006 Dec 11. I'll remove that. > I found that only Ruby has an operator (||=) for the default assignment. > Other languages are referring to using the ternary operator for this. > In these cases, the operator is used only in the RHS expression. -- (letter from Mark to Mike, about the film's probable certificate) For an 'A' we would have to: Lose as many shits as possible; Take Jesus Christ out, if possible; Loose "I fart in your general direction"; Lose "the oral sex"; Lose "oh, fuck off"; Lose "We make castanets out of your testicles" "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/201907211609.x6LG9rV5019641%40masaka.moolenaar.net.
