Re:Ask HN: How to rediscover the joy of programming?
by simplify on Monday April 13, 2020 @11:06PM
(#22862399)
I second the nod to logic programming. I've been working on a board game engine in Prolog as a side project, and I'm having the most fun programming I've had in a very long time :)
[ Parent
| on HN ]
Re:Ask HN: How to rediscover the joy of programming?
by TomMarius on Tuesday April 14, 2020 @02:41AM
(#22863299)
Can you recommend some prolog learning resources? I googled a lot but it's still kinda hard for me to grok - especially CLP.
Re:Ask HN: How to rediscover the joy of programming?
by simplify on Tuesday April 14, 2020 @04:33AM
(#22863796)
I recommend starting with [0] to get a feel for what's possible. [1] is great when you have time to dive deeper. [2] is good motivation, and [3] will show you how to build a practical roles & permissions system.
Keep in mind that you don't have to build your app in 100% prolog to use prolog. There are likely implementations in your favorite language. For example, Rust[a] JavaScript[b], and Ruby[c].
[0] https://learnxinyminutes.com/docs/prolog/ [1] https://www.metalevel.at/prolog [2] https://youtu.be/G_eYTctGZw8 [3] https://github.com/TheClause/learn-prolog/blob/master/articl...
[a] https://github.com/mthom/scryer-prolog [b] http://tau-prolog.org/ [c] https://github.com/preston/ruby-prolog