4 ms·
There are designed similarities in the naming of modules and functions. Many mimic the names of modules/classes and methods of Ruby code and standard libs. Pas
by pmontra 9y ago
There are designed similarities in the naming of modules and functions. Many mimic the names of modules/classes and methods of Ruby code and standard libs.
Past the naming and def do end layers they are very different languages, as one should expect. The main basic difference is due to pattern matching, which pops up everywhere even in function definitions. If then else is the first casualty.
A word about JS. I'm working in a project with an Phoenix backend and A React front end. The (mainly) front end developer chose Webpack. I had to fiddle with the configuration files and man, it's not a language for DSLs. It's no Ruby. I don't want to say those files are inherently messy, but for a moment I tried to remember if Java's configuration XMLs were as bad as that.