Re:Why Kakoune – The quest for a better code editor
by tigershark on Wednesday December 14, 2016 @02:23AM
(#13174421)
Or as I suggested earlier you just use objects instead of random variables.
And you have all the fields reinitialized to the correct default value (that can be different from zero) and much better naming because now you can tell the difference between employee.Username and user.Username
[ Parent
| on HN ]
Re:Why Kakoune – The quest for a better code editor
by DennisP on Wednesday December 14, 2016 @06:52AM
(#13175320)
Sure, and I do that when I can (e.g. not when I'm writing SQL), but the point of my quick examples isn't to show off my software engineering, but to illustrate what vim can do in the simplest way I can think of.
I guess I'm failing to make the point, so I'll just refer to the articles that got me to try it in the first place.