fxn
Joined 16 years ago
Joined 16 years ago
"TeX: The Program" is a joy to read.
You can Google Hotwire with Django, or Laravel, or many others (https://hotwire.io/frameworks).
.exs files are compiled just like .ex files are. The only difference between `elixirc` and `elixir` is that the former creates an artifact on disk, and the latter does not. See https://medium.com/@fxn/how-does-elixir-compile-execute-code....
Also, Ruby is as compiled as Elixir is.
Compiled vs interpreted is blurred the moment you compile to bytecode run by a VM. An artifact is not a fundamental difference.
In Ruby, tests are the same you'd write in any other language. You test that things do what they are supposed to do, not the types of parameters or return values.
I believe that is going to difficult measuring accuracy. You can approximate something if you compare it over a long period of time, perhaps at 12 o'clock, or as much 12 o'clock as you can tell by inspecting the hands alignment.
I wish the future of our society goes in this direction.
Also, having a WYSIWYG editor is cool, in raw Markdown links and images just do not look good for my taste (and tables, and more, compared to Dropbox Paper or Notion). The number of files for which they support syntax highlighting is small though. In particular Elixir is not in the list as of this writing.
To me, an ORM is a tool that allows someone that knows SQL to write statements they would write by hand using business-level vocabulary.
Also, you have to be savvy enough to know when you are hitting the max expressiveness of the ORM and need some powerful SQL you better write by hand. Active Record certainly provides API for that, and it is an API you are supposed to leverage when the circumstance arises (Rails team over here).