Re:Show HN: NimForum – A lightweight alternative to Discourse
by dom96 on Sunday May 27, 2018 @04:51PM
(#17169037)
Indeed, Nim badly needs a good ORM library. Maybe you'd be interested in creating one? :)
[ Parent
| on HN ]
Re:Show HN: NimForum – A lightweight alternative to Discourse
by gravypod on Sunday May 27, 2018 @05:09PM
(#17169124)
ORMs are extremely simple to implement. I've written them a few times in Java for simple things. Primarily you need something equivalent to reflection so you can read from and inject into any properties that an object might contain. Does Nim have this kind of feature set?
Re:Show HN: NimForum – A lightweight alternative to Discourse
by dom96 on Monday May 28, 2018 @06:01AM
(#17171586)
I've never written one, I always thought it's one of those things that sound simple but actually require a lot of careful thought and design.
Nim doesn't do reflection, but it has some of the best metaprogramming features including static introspection tools which are far superior to reflection IMO.
Re:Show HN: NimForum – A lightweight alternative to Discourse
by gravypod on Monday May 28, 2018 @06:30AM
(#17171661)
It just takes some opinions. If you haven't developed any yet just take someone else's opinions. Eloquent is a good start for where to look. The QueryBuilder frame is a nice platform that makes available many nice features.