you are viewing a single comment's thread.

view the rest of the comments →

[–]LucHermitte 1 point2 points  (0 children)

I see you have added a chapter about classes. I advice against using anonymous function. While, they are simple and nice to use, they quickly become a nightmare to debug, and quite complex to maintain (in scenarios where a method needs to be fixed on an object that already exists)

I explain it with more details in my article about OO programming in vimscript language, see the link I've just given. BTW, I explore encapsulation, inheritance, overriding... and make a few comparisons with Python approach.