Hacker News new | past | comments | ask | show | jobs | submit login

Personally I think Rust should take this one step further. Actually build templates into the platform itself.

For example one for creating a microservice complete with routes, test cases, JSON support etc. Another for a command line application.

In languages with a steeper learning curve like Rust there needs to be more of an opinionated approach to teaching users.




I'm not sure how valuable this type of thing really is. Templates tend to fall out of date, since they're not actively used, they're not actively updated to new practices. I've seen this with lots of templates in other languages.

The libraries having excellent documentation and pointing to apps that are similarly implemented tends to be better maintained, IMO.


Maybe this could be some kind of cargo command:

    cargo template-gen name something



Thanks for point it out, it just isn't clear what the current state is.

It looks kind of dropped with the github repository only having a basic example.


Yeah. Nobody has championed it as of yet. That's open source :)




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: