Better HN
topnewbestaskshowjobs
Log inSign up

ihatejs

3 karma · joined May 30, 2023 (3y ago) · 2 submissions

Submissions

comment 3y ago · link · parent

I haven't read the entire article but my biggest complaint is the lack of tutorials to deal with the new way of defining forms and tables using the new function components in Phoenix 1.7. Yes, the official documents do explain how function components (in general) work and are defined but what I really wanted was a superficial guide to use specific components without delving into the internals. I did bite the bullet and read the documentation and looked at the source code but I feel I didn't really need to do it. Just tell me the new tags I could use, what the attributes mean but I don't need to know how the sausage is made.

comment 3y ago · link · parent

Your take sounds more reasonable. I would think you would get diminishing returns if you try to solve all pathological cases.

Sometimes it is the fault of the language design too. Maybe the language spec needs to be changed. Imagine all the wasted effort to optimize V8 when you could have put static typing into Javascript itself.