3 ms·
I actually really like it too. The programming language features of it are quite different from what's going on in a Java/C++/C# world, but they are super conve
by epistasis 12y ago
I actually really like it too. The programming language features of it are quite different from what's going on in a Java/C++/C# world, but they are super convenient.
Argument matching is really amazing and useful for prototyping. No doubt there's a penalty, but it's exactly the type of power that's needed to build expressive and useful reusable components with rapidly changing designs. And pattern matching like that really helps with the REPL because it allows far faster exploration with fewer keystrokes. Best programming practice in library code would be to have things more fully fleshed out however.
- jghn 12y agoI've said for several years now that most complaints about R's syntax and idioms really boil down to "this isn't doing things the way I'm used to doing them, i.e. the C/C++ branch of the language family tree"
- Alupis 12y agoShould note that R wasn't really designed for "programmer" programmers. It's largely used by statisticians, analysts, etc, so a lot of the syntax will vary from a C based language.