[sdiy] Programming Language Recommendation

Tom Wiltshire tom at electricdruid.net
Thu Dec 10 01:27:11 CET 2020


> On 10 Dec 2020, at 00:13, Eric Honour <autophage at gmail.com> wrote:
> 
> Perhaps it's just me but when I see numbers like "0x80000000" I cringe, grit my teeth, and feel my eyes glaze over. I never could see very well but that is absolutely illegiible. Are there any languages/IDEs/whatever that can put some commas in there and still compile without an error?  
>  
> I'm not aware of any out of the box, but in most compiled languages you could add a build step that strips them away - and some development environments are sufficiently customizable that you might even be able to coerce one to display commas that aren't actually in the "real" source file (or set up some other way of differentiating - for example changing the text color every 3 digits in a row).


Given how easy it would be to do, it’s a good idea. Just change the colour or add a comma/dot/whatever every 4 digits. It *would* make life easier. I find myself counting digits in long binary and hex literals quite often.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://synth-diy.org/pipermail/synth-diy/attachments/20201210/2a92af58/attachment.htm>


More information about the Synth-diy mailing list