[Ohrrpgce] [ohrrpgce/ohrrpgce] Way to skip arguments in HamsterSpeak by passing their default value (#1158)

Ralph Versteegen notifications at github.com
Tue Aug 25 09:29:43 PDT 2020


I do make use of skipping arguments a lot in FB, and named arguments a lot in Python. I don't use any languages that have both, and implementing both may be overkill in a language that's meant to be simple; I don't have much opinion on that.

I guess you're referring to arguments to builtin commands, since you can't skip args to scripts that aren't optional, as there are no default values for them.
Well, you already can skip all arguments to all commands, which is a major flaw in HS: required arguments aren't indicated in plotscr.hsd, they all have defaults. This is something I want to change, but it's a nightmare to go through the documentation for all 700 commands.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/1158#issuecomment-680133038
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20200825/a5ab3cfd/attachment.html>


More information about the Ohrrpgce mailing list