| ▲ | mhluongo 5 days ago |
| There's boilerplate in Rails too. We move the goal posts for what we define as boilerplate as we better explore and solve a class of problems. |
|
| ▲ | dymk 5 days ago | parent [-] |
| What boilerplate is there in rails? |
| |
| ▲ | TheDong 5 days ago | parent [-] | | html is like 90% boilerplate, and so .html.erb in rails is mostly boilerplate. | | |
| ▲ | skydhash 5 days ago | parent [-] | | We have the component architecture pattern to reduce the amount of html we have to write. If you’re duplicating html element in every page, that’s mostly on you. There’s a reason every template language have include statement. That’s a problem that’s been solved for ages. |
|
|