2 ms·
well of course, but why not write the solver in Prolog and the website in Python? why are people so allergic to mixing languages? if the problem is simple to d
by sterlind 4y ago
well of course, but why not write the solver in Prolog and the website in Python? why are people so allergic to mixing languages?
if the problem is simple to describe, then sure, write a solver or use a binding. I'm just used to the problems being pretty intense and sophisticated.
I've found having a REPL in a symbolic (term-rewriting) language to be invaluable, and can't imagine going back to for-loops and endless maps of symbol tables chugging out text files for debugging.
- btilly 4y agoLet me turn it around. Why would I use an external language instead of a library in my existing language? It really isn't as hard as you indicate.