3 ms·
Now that I exercise my memory of things past, I seem to recall that VB6 had "Function" and "Sub", too, which had essentially the same distinction, except there
by logfromblammo 9y ago
Now that I exercise my memory of things past, I seem to recall that VB6 had "Function" and "Sub", too, which had essentially the same distinction, except there were some further differences if you ever tried to write Office macros.
I never did voluntarily, because "real programmers" just didn't do that. But there was always some legacy POS written by a non-software person--who no longer works for the company, of course--that had been embedded into an Excel spreadsheet and never once tasted source control, but it was somehow critical to the business, anyway, and you might have been assigned the task of figuring out what it did and turning it into "real code".
While I have a low sample size, it seemed like those reduced from about 10 MB of godawful brute-force spaghettified spreadsheet macro, down to about 10 lines of Java or C#, using algorithms and basic library functions. The hardest part is convincing your boss's boss that they both do the same thing, because the guy who wrote the macro spent so much time on it that there's just no way it could actually be so simple.
As I favor considering aptitude in addition to skill, asking gotcha questions about jargon or syntax doesn't seem fair to someone who could hear that 4-word explanation and instantly understand what you meant.