3 ms·
Or as I suggested earlier you just use objects instead of random variables. employee = new Employee(); And you have all the fields reinitialized to the co
by tigershark 10y ago
Or as I suggested earlier you just use objects instead of random variables.
employee = new Employee();
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
- DennisP 10y agoSure, 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. http://www.viemu.com/a-why-vi-vim.html http://www.viemu.com/a-why-vi-vim.html http://www.moolenaar.net/habits.html http://www.moolenaar.net/habits.html