https://www.swift.org/ has better examples: simple web apps, CLI tools, and embedded code.
Binary sort would be another candidate for me, but people get it wrong in subtle ways and not every language does array updates.
Your examples don't make much sense to me. A web app using what framework? What does that say about the language? CLI apps could work if you could find one that people recognize and that's small enough for an example.
I love to talk to them at various meetups and one can feel their love for the language and the intricate design of it.
It's a bit sad it's such a niche of a niche language.
I am of the camp "use full English words", and "if the identifier is too long then spend the time needed to find a more concise way to say what you mean in fewer or shorter full English words". Incidentally AI can be pretty good at brainstorming that, which is lovely.
The other uses of `func` should be changeable with the flexible syntax extensions the language offers, but I haven't dug into that.
The case for abbreviated keywords will always exist as some will prefer contractions whereas some will have a preference for fully spelled out words.
At the opposite side of the spectrum there C / C++ that use neither for functions and procedures but «printf» and «strcpy» – as you have rightfully pointed out which ADA, COBOL and Objective C contrast with
ADA: «Is_Valid_User_Access_Level_For_Requested_Operation», «Convert_String_To_Standardised_Date_Format»
COBOL: «PERFORM Calculate-Totals VARYING Index FROM 1 BY 1 UNTIL Index > Max-Index»
Objective C: «URLSession: dataTask: didReceiveResponse: completionHandler:»
I do not think that a universal agreement on the matter is even possible.But if outside of the context of coding you just say "strcpy" or "writeln" at somebody they're not going to immediately understand. As a result, even coders with tired brains or who are switching between languages a lot will also get hung up at inconvenient times.
Seed7 programming language - https://news.ycombinator.com/item?id=10544046 - Nov 2015 (3 comments)
Seed7 programming language - https://news.ycombinator.com/item?id=637224 - June 2009 (2 comments)
emmelaich•6mo ago