Follow

"Currently Go supports calling up to 18 arguments when calling function from a Windows DLL. But there are some SDKs that have functions with 22 and more parameters."

github.com/golang/go/issues/46

😂

· · Web · 7 · 7 · 12

@fribbledom I once saw a Java constructor with roughly 80 arguments.

@fribbledom this is like that time I looked into how many generic parameters C# supported

@fribbledom why 🥺😭 I get stressed out when a function asks more than 5 arguments, I can't even imagine dealing with 24+... 😰

@fribbledom Reminds me of the comment somewhere in monotone (the DVCS)’s source code: “Yes, this function takes 14 parameters. I’m very sorry.” (I may have the number wrong by a few.)

@fribbledom So, you're saying Windows APIs are overly argumentative?

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!