|
|
|
|
|
by noblethrasher
3695 days ago
|
|
You know what else takes in strings and spits out strings? A compiler! Here are a couple of other under-appreciated facts about compilers: 1. For regular grammars, they are easy to build with any kind of programming language. 2. For regular grammars, they are really really easy to build with statically-typed programming languages. Now days, my web development is essentially just compiler construction for regular languages, and it just so happens that extremely statically-typed like the MLs (F#, in my case) are damn good for writing compilers (one joke is that it’s the only thing they’re good for). I write far fewer lines of code per feature than I ever did with ”dynamically“ typed languages like PHP, and it’s usually right the first time. |
|