Hacker Newsnew | past | comments | ask | show | jobs | submit | hsmyers's commentslogin

While I appreciated the article, another one of his caught my eye and I thoroughly enjoyed it: http://www.jefftk.com/p/teach-yourself-any-instrument


Has GCC got the necessary pragma foo to implement this?


one of my favourite old school tricks for achieving such breakery is:

#define const_cast CONST_CAST_IS_FORBIDDEN #define dynamic_cast DYNAMIC_CAST_IS_NEVER_NECESSARY

etc...

its dirty, but it gets the job done


Then I'll just use a C-style cast. :P


don't worry, i can't do this across /all/ code anymore - some lazy ms monkeys were unkind enough to dump dynamic casts in library headers sometime around 2008.

C-style cast at least doesn't make you pay through the nose in debug time or performance overheads - even if it is easily confusing :)


Probably not, but could put comments in the header?


if it does, it should be called antidote.


It is usually against the rules to drool in libraries...


Can't step in the same river twice is true in all domains, not just software. Admittedly with some languages it is worse than others, assembler and APL come to mind but same truth still applies.


Excellent platform for fractal research. And trust me not all of those who search are academics :)


One of my favorite differences between my painting and my programming is that it is much easier to clean up my work space after programming---no brushes to clean :)


Need to import from feedly, any suggestions?


yes, export your subscriptions as an OPML file (Feedly -> Organize), Sputnik can import it.


As a long time low level bit twiddler, I would have killed for this in the '70s, '80s, and '90s. It would have been my killer app :)


63. C Users Group Extended Precision package. Written on an 8 bit S-100 machine in BDS C (Brain Damage Software, Leor Zolman https://en.wikipedia.org/wiki/BDS_C). Late 70's early 80's.


Good start but a little shallow. Try 'Tolkien' or 'Lord of the Rings'...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: