Blogs / Personal blogs

Alex Beal's 🆎 blog

usrsb.in

April 4, 2017 Regular Expressions Are A Declarative Language for Generating Strings

Popular posts
2
Total points
265
HN comments
104
Rank
#10,020 personal

Visit usrsb.in → On Hacker News Jan 2018 – Mar 2018

Software Engineering 2Systems & Performance 1Programming Languages 1

2

How Old School C Programmers Process Arguments

Here’s a bit of code from Kernighan’s and Ritchie’s seminal text, The C Programming Language . I’m not sure I’d actually recommend coding this way (as written in the book, the entire program has only one comment), but it’s so darn clever and concise, I can’t help but post it. This snippet is part of a larger program…