3 ms·
It's not intuitive to me as a JS dev too... Are you guys gonna re-implement typescript for example? Where does 'no deps' line get drawn?
by gear54rus 7y ago
It's not intuitive to me as a JS dev too... Are you guys gonna re-implement typescript for example? Where does 'no deps' line get drawn?
- kkio 7y agoEchoing this sentiment. I think there's value in consolidating parts of the JS toolchain as there's a lot of variability there with how you can adjust your build system and pick your flavor of the week linter/formatter/bundler/etc. I'm not sure how 'no deps' is a a feature though, aside from (potentially) less packages to download during development.
- kevmo314 7y agoSame, I don't mind having an alternative to webpack, but competing against prettier is going to be an uphill battle.
- ratww 7y agoI don't know. The whole point of using Prettier is that you're delegating your style choices to someone else. And there were already some (very small) breaking changes between Prettier v1 and v2. Changing from Prettier to something else doesn't sound like that big of a change, as long as Rome's formatter is not too ugly or changes are too drastic.
- kevmo314 7y agoIt's more of a network effect though that keeps me using prettier. These days I end up using prettier in codebases so my code looks like everyone else's, not just so it's self-consistent. It just makes it easier to read. You're right though if Rome has a formatter that looks nice I suppose I wouldn't care, but at that point it's sort of like why not just use prettier?
- ratww 7y ago> You're right though if Rome has a formatter that looks nice I suppose I wouldn't care Well, then I guess it wouldn't be an "uphill battle" :)
- koboll 7y ago"No dependencies" isn't quite accurate. There are a couple, and they are TypeScript and related packages: https://github.com/facebookexperimental/rome/tree/master/node_modules https://github.com/facebookexperimental/rome/tree/master/nod... But everything else is on track to be reimplemented within Rome.
- coolwhit 7y agoNote that the TypeScript dependency is not used at runtime. It's only used to type check the Rome source code. Source https://news.ycombinator.com/item?id=22431169 https://news.ycombinator.com/item?id=22431169