If you want to read some monads in the wild, go check the code for Jane's Street "core_unix.command_unix"
Otherwise, GADT, but they are used sparingly because they make type inference undecidable
If you want to read some monads in the wild, go check the code for Jane's Street "core_unix.command_unix"
Otherwise, GADT, but they are used sparingly because they make type inference undecidable
Sorry to that guy, but Python is a terrible choice for GUI. It simply doesn't even exist in the wild, except in newbies' minds. You should pick something that allows you to* easily & immediately* reload your GUI in progress without restarting the program; AND also maybe think about how to distribute your GUI on other computers without requiring them to duplicate your python setup
Meh. He s wrong and he knows it. Computer science is definitely about efficient use of computational resources and memory.
and how you run your tests? Do you spawn a DB backend for test purposes?
Unfortunately sometimes the code base is fuckd up beyond repair, it can't even be tested. that's why i submitted 3000 line PR ☠️
All IO related stuff should be a replaceable dependency
But this is very readable tho
Why every class creates its own logger? That might make sense, but looks suspicious
Use global imported variables for configs.
I would be lying if I said that I was a professional Ocaml developer.
I do definitely think the Jane's library is very hard to read... But that might be my inexperience
I personally think regular, procedural code is much easier to read ¯_(ツ)_/¯