Jump to content

Talk:Z10029

From Wikifunctions
Latest comment: 2 years ago by Egezort in topic Output type

Output type

The output type for this should probably something like positive integer. I think we should keep a list of pages where we fix the type once it is available? -- DVrandecic (WMF) (talk) 00:16, 3 August 2023 (UTC)Reply

@DVrandecic (WMF): On functions I'm writing, to indicate that the input/output types should later be checked, I'm opting to prefix a "(!)" to the start of the English label on functions and their implementations; I wonder if this is something @Egezort: might support. Mahir256 (talk) 16:45, 3 August 2023 (UTC)Reply
Thinking a bit more about this, I would really suggest to just not do functions with numbers for now, and types we don't have. Changing the signature of an established function will not be trivial. I will kick off a discussion on the Project chat. -- DVrandecic (WMF) (talk) 17:55, 3 August 2023 (UTC)Reply
Hello,
I agree wholeheartedly that this should output a positive integer. I lean more toward keeping it as string for now, but indeed putting a warning to fix later. However, the fact that it's going to be hard to fix is also a very valid concern. Egezort (talk) 20:45, 3 August 2023 (UTC)Reply