4 ms·
I very recently found about his love for C macros http://research.swtch.com/shmacro http://research.swtch.com/shmacro
by agumonkey 11y ago
I very recently found about his love for C macros
http://research.swtch.com/shmacro http://research.swtch.com/shmacro
- dalke 11y agoLooking at it reminded me of my first C textbook from school; "C as a second language for native speakers of Pascal". If I recall correctly, it has a section on macros you can define to make your C code look more like Pascal - much like how Bourne preferred Algol syntax.
- agumonkey 11y agoAt which point you wonder if you're writing C code anymore. There's also the king's way http://www.merl.com/publications/docs/TR93-17.pdf http://www.merl.com/publications/docs/TR93-17.pdf