Questions tagged [language-ergonomics]

Use this tag for questions about human factors of language design such as usability and programmer effectiveness of particular features

Filter by
Sorted by
Tagged with
2 votes
4 answers
383 views

What evidence exists on using & and | as logical operators instead of && and ||?

I’m working on a small, dynamic language that isn’t going to include bitwise operators so I was thinking it was a bit unnecessary to use && and ...
user avatar
18 votes
5 answers
2k views

What should be included in error messages?

New users of a language will spend a lot of their time staring at error messages, and realistically so will the language designers. These messages should be an early consideration, given that adding ...
BoppreH's user avatar
  • 1,441
13 votes
5 answers
357 views

What strategies did Go use to circumvent the lack of generics?

Go (was) famous for its lack of generics. However, the lack of generics in a statically typed language makes quite a few things harder. For example (in a pseudocode because I don't know Go): ...
Seggan's user avatar
  • 2,603
15 votes
2 answers
334 views

Is colorForth's unique syntactic approach helpful to the programmer?

colorForth, from Forth creator Chuck Moore, is a dialect of Forth where colour of the source text is semantically important. There is no typical syntax: programs are pure sequences of words, where the ...
Michael Homer's user avatar
  • 11.7k
8 votes
3 answers
202 views

Should a concatenative language use prefix or postfix term ordering?

Concatenative languages compose subprograms (nonempty sequences of terms) by appending one to the other. Most of these languages use postfix notation, like in Forth: ...
Michael Homer's user avatar
  • 11.7k