Hacker Newsnew | past | comments | ask | show | jobs | submit | lancehalvorsen's commentslogin

My $0.02.

Elixir's do/end blocks actually enhance the syntax it inherits from Ruby by making it very, very consistent. Defining any type of entity takes a do/end block - def, defmodule, defmacro, defprotocol, defimpl, and probably some that I have forgotten.


We're working on a way to gather a lot of good info about Phoenix and make it available in a single place.


I'd just like to say that Phoenix documentation is getting better all the time. The core team has put a lot of effort into documenting modules and functions, which you can see on http://hexdocs.pm/phoenix.

I am also coordinating the Phoenix Guides project which, while still incomplete, is adding information all the time. https://github.com/lancehalvorsen/phoenix-guides

Sorry these didn't help for your last project, but maybe they'll help for your next one. :)


I've seen the API reference, but while it's good to have it, it doesn't help very much in the beginning. You need to know what is it you're looking for, and it's very hard to guess it with just the reference and no prior knowledge on the metaphors used. The guides look very nice, they probably would have helped me a lot, but I didn't find them last time as they are not linked from Phoenix main page. Anyway, looks like I will have something to read later this weekend :)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: