[erlang-questions] [ANN] jerg - JSON Schema to Erlang Records Generator

37 views
Skip to first unread message

Tilman Holschuh

unread,
Apr 26, 2013, 6:02:31 PM4/26/13
to erlang-questions
Dear list,

On behalf of David Dossot I'd like to announce:

jerg, a JSON Schema to Erlang Records Generator

You can find jerg on github:

https://github.com/ddossot/jerg

David also wrote a blog on jerg:

http://blog.dossot.net/2013/04/meet-jerg-json-schema-to-erlang-records.html

Feedback is more than welcome.

Cheers
- Tilman
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

Rapsey

unread,
Apr 27, 2013, 5:29:50 AM4/27/13
to Tilman Holschuh, erlang-questions
When it comes to web development, my experience with records as the
data structure behind an API was not positive. We used records a lot
at the beginning, but their use declined with every new project.
Erlangs biggest advantage in web development is flexibility. Records
are inherently inflexible. If you use records across multiple modules,
you make code updates that change your data structure way more
problematic. One module knows a record to be one thing, another knows
it to be another and everything crashes until all modules are updated.
In web development those code updates are quite frequent, since most
of what a website backend does is move data around.


Sergej

Ivan Uemlianin

unread,
Apr 27, 2013, 6:10:50 AM4/27/13
to Rapsey, erlang-questions
I'm hanging around on twitter too much. I tried to favourite this.

--
festina lente

Tilman Holschuh

unread,
Apr 27, 2013, 5:58:26 PM4/27/13
to Rapsey, erlang-questions
On 13-04-27 02:29 AM, Rapsey wrote:
> If you use records across multiple modules, ...

Which you shouldn't.
Reply all
Reply to author
Forward
0 new messages