this post was submitted on 10 Sep 2025
260 points (98.5% liked)

Programmer Humor

30732 readers
1207 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] palordrolap@fedia.io 1 points 6 months ago

Yes. Most early BASICs even required that any reference to a function name, in definition or calling, be preceded by an FN keyword as well as the parentheses.

QBASIC, Visual BASIC and the related dialects of BASIC found in MS Office and LibreOffice all have slightly better syntax for defining and calling functions than the older BASICs, but they all still require parentheses on their subroutine parameter lists too.

At best, you might be able to call a subroutine by name with no empty parentheses after it, but as soon as you need parameters, you'll need parentheses around them.

But like I say, there was at least one rare BASIC that didn't need them, so I'm assuming there might have been others that I'm not aware of.