<div dir="ltr"><div>Golang does.<br></div><div><br><a href="https://golang.org/ref/spec#Integer_literals">https://golang.org/ref/spec#Integer_literals</a></div><div><br></div><div>It has become my language of choice nowadays — feels like the perfect bridge between dynamic and compiled languages, but with first class CSP primitives included.<br></div><div><br></div><div>John<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 10 Dec 2020 at 11:17, Eric Honour <<a href="mailto:autophage@gmail.com">autophage@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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?  </blockquote><div> </div><div>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).</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 9, 2020 at 5:58 PM KA4HJH <<a href="mailto:ka4hjh@gmail.com" target="_blank">ka4hjh@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><br><div><blockquote type="cite"><div>On Dec 8, 2020, at 2:42 AM, Jason Tribbeck <<a href="mailto:jason@tribbeck.com" target="_blank">jason@tribbeck.com</a>> wrote:</div><br><div><div dir="auto">That sort of reminds me of a friend of mine who was using a CPU (and compiler) whose NULL address was 0x80000000.<div dir="auto"><br></div><div dir="auto">Caused no end of trouble when porting code from programmers who instead of comparing a pointer with NULL just checked it against zero...</div><div dir="auto"><br></div><div dir="auto">I.e. they did this:</div><div dir="auto"><br></div><div dir="auto">if (my_pointer) address_is_valid();</div><div dir="auto"><br></div><div dir="auto">Instead of:</div><div dir="auto"><br></div><div dir="auto">if (my_pointer != NULL) address_is_valid();</div></div></div></blockquote></div><div><br></div>Classic. <facepalm><div><br></div><div>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?</div><div><br></div><div>I started out using hex In 6502 and 6811 assembler (with the "$" prefix) so to me that's $80000000. I prefer hexadecimal over every other "commonly" used numeric base. Not only do I find it to be the "easiest" for doing "computer stuff" but after working with CEEMAC for a while I discovered that bases that are *even* powers of two are the most "elegant". CEEMAC is basically a parameter generator for creating abstract animation and I did a lot of tweaking constants by multiplying/dividing by 1.5 and 3. Once I got the hang of doing that I was truly in love with hex.<div><br></div><div><br><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Terry Bowman, KA4HJH<br>"The Mac Doctor”<br><br>Who is still dreaming of creating a new version of Brooke Boering's (RIP) CEEMAC</div>
</div>
<br></div></div></div>_______________________________________________<br>
Synth-diy mailing list<br>
<a href="mailto:Synth-diy@synth-diy.org" target="_blank">Synth-diy@synth-diy.org</a><br>
<a href="http://synth-diy.org/mailman/listinfo/synth-diy" rel="noreferrer" target="_blank">http://synth-diy.org/mailman/listinfo/synth-diy</a><br>
Selling or trading? Use <a href="mailto:marketplace@synth-diy.org" target="_blank">marketplace@synth-diy.org</a><br>
</blockquote></div>
_______________________________________________<br>
Synth-diy mailing list<br>
<a href="mailto:Synth-diy@synth-diy.org" target="_blank">Synth-diy@synth-diy.org</a><br>
<a href="http://synth-diy.org/mailman/listinfo/synth-diy" rel="noreferrer" target="_blank">http://synth-diy.org/mailman/listinfo/synth-diy</a><br>
Selling or trading? Use <a href="mailto:marketplace@synth-diy.org" target="_blank">marketplace@synth-diy.org</a><br>
</blockquote></div>