On Wed, Oct 22, 2008 at 03:54:23PM +0200, Nikolai Weibull wrote: > > On Wed, Oct 22, 2008 at 15:16, Tony Mechelynck > <[EMAIL PROTECTED]> wrote: > > > On 22/10/08 13:57, Nikolai Weibull wrote: > > >> [...] I really dislike this tendency > >> computers have to not adhering to the mantra "do as I mean, not as I > >> say".[...] > > > Sorry, but in the programming world I don't follow your "don't do as I > > say, do as I mean" mantra. With me it's "do as I say, and if I talk > > nonsense (if I'm using invalid syntax), tell me so". > > You miss the point entirely. If I say remove(list, 8, -1) I expect it > to give me a list of the first 8 elements in list.
This is odd since, as pointed out earlier, Bram modelled the List usage after Python. remove(list, 8, -1) looks like simple slicing, which would be done as list[:8] in Python and works just fine in Python if the list doesn't actually have 8+ items. -- James GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---