32,006 karma · joined July 21, 2008
I'm aware of those, but I'm looking for a visual way to declare JSON Schemas, similar to the Schema view in your project.
I particularly like the schema editor -- would it by any chance be available as a component to be used elsewhere, ideally open-source? I've been looking for a good browser-based editor for JSON Schema (or any schema, as long as it's configurable), but nothing I found really fits the bill.
One mechanism to verify that is by running a mutation testing [0] tool. They are available for many languages; mutmut [1] is a great example for Python.
Most platforms/languages have logging built in, and it's perfectly possible to emit OTel-compatible log messages (like the linked article recommends) and collect them using some agent like Prometheus.
Plus, the typing annotations could presumably be expanded to include some notification to declare raised exception types explicitly.
The point of exceptions is exactly that you don't want to handle all that might come up -- you need to handle only those that you actually expect and know how to handle. Everything else is left to bubble up and either be handled by a custom, generic top-level handler, or by the language's default mechanism (in Python's case, dumping a stack trace).
I'm not sure what you mean by this? Python has the "raise" statement [0], which "throws" an error from within a function or other code.
[0] https://docs.python.org/3/reference/simple_stmts.html#raise
1. How did you define the scope of "what to build"? Did you have tickets, or some less formal specifications like wiki pages, or simply a verbal agreement? How did you ensure that everyone's on the same page?
2. How did you track the progress of "building a thing"? Did you have some kind of "statuses", or each work basically had only two states -- "not done" and "done"?
3. How did the engineers coordinate on their work? Or every "thing to build" was always done by one single engineer? If the latter, how was it later maintained - always by that same person or did others work on it as well?
Please note that I don't mean to demean your experience -- these are simply issues that pop up in software engineering, and decisions have to be made how to approach them. And not making a decision is also a decision.
[0] https://chromewebstore.google.com/detail/refined-hacker-news...
[1] https://addons.mozilla.org/en-US/firefox/addon/refined-hacke...
This should be abolished as something illegal; some countries function perfectly well with much more reasonable laws on that topic.
$className = "MyClass";
$classInstance = new $$className();My point exactly. And without that representation, we have zero leverage to hold anyone responsible.
Well, it heavily depends on how we define "we". Two out of those three groups are both supposed to uphold the responsibility of others.