- "But it tests more things!"
Well ok, but those are integration tests, not unit tests... It is unacceptable that a unit tests can fail because of external system...
- "But it tests more things!"
Well ok, but those are integration tests, not unit tests... It is unacceptable that a unit tests can fail because of external system...
Test setup is sometimes very complicated AND expensive. Enforcing only 1 assertion per test is moronic beyond description.
Deleted Comment
It just makes things less readable, with not other benefits than making the code look more clever than it is.
I use Python, but have never tried Ruby. The ecosystem for Python packaging is so chaotic that I’ve considered switching.
Any Pythonistas/Rubyists here that could point out some Ruby shortcuts that make you more productive?
- Legacy internal REST APIs
- NoSQL Databases
- Various SQL Databases
- Some static text files
- Some REST APIs from a third party
- POST or PUT or PATCH?
- Why can't my GET or DELETE requests have a JSON body?
It is just a better interface, even if it where to be used exactly as REST without any nesting. I used the Appollo server in NodeJS and it was so natural to make parallel queries and let the query planner take care of the parallelism for me...
For example using a microwave with microscopic cracks in the glass and staying nearby. All the diesel particles and exhaust car fumes and tire dust in the cities. The terrible air quality near maritime ports because of the bad quality ships do with ultra cheap fuels.
The extermination of gut microbiota with the use of pesticides and the use of artificial sweeteners.
Genetically engineered food that is flooded in pesticides(engineered so the plant can withstand them).
The excess use of liquid oils and refined sugars that were never consumed by humans and that are correlated with cancer and cardiovascular disease.
The excess use of the fridge and premade foods making essential nutrients go away as the food freezes, so you eat but starve.
Contraceptive pills that are hormone bombs in your body.
Chemical products like benzene that industries like energy extraction's leak on aquifers and Perfluorooctanoic acid you could generate just burning a teflon pan you forget to put oil or butter in(or using the 3d printer with exotic materials).
All of those risk can be extreme but most people just can't see it. I have seen people burn out a teflon pan and not understand that they have to trow it away immediately. I have seen people handling benzene like water.
You can believe that you are eating healthy because you eat lots of vegetables but if those are flooded in pesticides, then it is not so healthy.
Nhaa, I don't think so. Glyphosate residue are not a real concern for me.
Other things that are way higher on my list, that are considered "natural":
Sun exposure
Radeon gas
Alcohol and tobacco consumption
FastAPI doesn't have those issues at all...
In this particular example, consider:
- the opposing pilot inputs being signaled only by a pair of little green lights
- the cacophony of warning lights and alarms which, together, say little more than "something is wrong"
- instruments that direct a pilot to pull up during a full stall
- sensor failures with no clear indicator
- computer safeguards suddenly removed without a stated reason
Etc. And the expectation towards the crew is to quickly and corrently reason about this stream of conflicting signals, while embroiled in a sudden emergency.
It smacks of pure engineer-driven design, assembled with serious attention to the technical issues, but with near-zero empathy for the humans who will be operating the contraption.
Reminds me of internal web tools at so many companies. They present giant messy forms, with checkboxes and dropdowns for every conceivable edge case, which have to be manipulated just so or the system explodes. And when something breaks, of course it's the user's fault every time.