wide-midnight-78598
10/21/2022, 2:36 PMpyright
working sometimes, but not other situations)
• [Another thing I forgot]
Questions:
What should the scope of each of these backend examples be (reasonable middleground).
• 1st party code
• 1st party lib/dep (in another folder/repo)
• 3rd party deps
• Codegen
• ???witty-crayon-22786
10/21/2022, 6:03 PMpython
+ JS
, or python
+ cpp
(because frontend and ML, respectively)$anything
+ helm
, etcwide-midnight-78598
10/21/2022, 6:18 PMthe most useful scope will be a realistic scopeKinda disagree here, as there are so many possible permutations - and people can write microservices in whatever language(s) they want (for example). I use, in 1 repo: Shell, C, C++, Swift, Python - so that's realistic for me, but is it for others? 🤷 One of the best examples of this kitchen sink I can think of is react-table, which has an example with almost every feature that it's capable of, even though no realistic use cases uses them, but devs can cherry pick what they need. It's also quite a showcase to say
./pants fmt lint check package ::
and then have everything "just work". So, lets potential users know that, regardless of their plan going forward - they're covered. Having a repo like this, I think also introduces some uniformity to the example basewitty-crayon-22786
10/21/2022, 6:21 PMOne of the best examples of this kitchen sink I can think of is react-table, which has an example with almost every feature that it’s capable of, even though no realistic use cases uses them, but devs can cherry pick what they need.this works when the features don’t need to interact with one another… with
pants
, you’re necessarily going to end up with a bunch of stuff in pants.toml
, and each individual example gets less clear the more you add.> the most useful scope will be a realistic scope
Kinda disagree here, as there are so many possible permutations - and people can write microservices in whatever language(s) they want (for example). I use, in 1 repo: Shell, C, C++, Swift, Python - so that’s realistic for me, but is it for others? 🤷this sounds like agreement rather than disagreement to me… the most realistic example for you would be that combination of languages
wide-midnight-78598
10/21/2022, 6:36 PMpants.toml
though, if there are a lot of custom settings.witty-crayon-22786
10/21/2022, 7:05 PM