4 ms·
Cool, but what about code maintainability? Why add microlanguages? I'm sure your microlanguage is superintuitive to you, because you wrote it, but I, as a new c
by petervandijck 16y ago
Cool, but what about code maintainability? Why add microlanguages? I'm sure your microlanguage is superintuitive to you, because you wrote it, but I, as a new coder on your code, don't want to learn it.
- macmac 16y agoThat is a valid concern, although a well designed micro language will likely also reduce the code base significantly and thereby leave less to learn. If it is well constructed it will also serve as an easy way of learning about the domain which you will have to anyway.
- petervandijck 16y agoFair enough. Or, a well designed micro language may just be that, well designed but entirely unnecessary :)
- chc 16y agoEvery codebase and accompanying API is something you have to learn. If you don't want to learn, best not ever do maintenance. A "microlanguage" is just better suited to the problem domain than a normal API.
- anamax 16y ago> I'm sure your microlanguage is superintuitive to you, because you wrote it, but I, as a new coder on your code, don't want to learn it. I'm sure your API is superintuitive to you, because you wrote it, but I, as a new coder on your code, don't want to learn it. I'm sure your library is superintuitive to you, because you wrote it, but I, as a new coder on your code, don't want to learn it.
- petervandijck 16y agoMmm. No. It takes longer to learn a language than an API, in general. I don't think I'm wrong about that?
- s-phi-nl 16y agoSee http://paulgraham.com/progbot.html http://paulgraham.com/progbot.html
- jimbokun 16y agoIn this case, he's trying to make it more idiomatic within the surrounding Clojure code, and thus, more intuitive for the intended user.