Re:Building an efficient and portable programming language w...
by ta_ca on Thursday May 13, 2021 @02:43PM
(#27145703)
but you can misuse anything, + vs add was an example for this.
being able to misuse a PL i believe is not a bug but a feature. we really suck at predicting the future.
Re:Building an efficient and portable programming language w...
by stephc_int13 on Thursday May 13, 2021 @03:00PM
(#27145934)
This is not the role of langage designers to prevent bad programmers to write bad code.
But it is better to avoid giving them too many ways to shoot themselves in the foot.
Forcing the code to be explicit is good design, in my opinion, simply because it is much easier to write code than to read it, we have to put more weight on the clarity side.
When trying to understand a codebase, it is much easier to not worry about hidden indirections.