4 ms·
Aja Hammerly[0] have a talk[1] at RubyConf this year titled “4 Programming Paradigms in 45 Minutes”, and she used Prolog as her declarative language. She implem
by cmpb 9y ago
Aja Hammerly[0] have a talk[1] at RubyConf this year titled “4 Programming Paradigms in 45 Minutes”, and she used Prolog as her declarative language. She implements a simple cash register in OO (Ruby), Functional (Racket), Declarative (Prolog) and Procedural (Assembly). The Prolog one turned out to be the shortest. It was really interesting!
[0] https://github.com/thagomizer https://github.com/thagomizer
[1] https://confreaks.tv/videos/rubyconf2017-4-programming-paradigms-in-45-minutes https://confreaks.tv/videos/rubyconf2017-4-programming-parad...