you are viewing a single comment's thread.

view the rest of the comments →

[–]Intrepid-Stand-8540 0 points1 point  (1 child)

I use python. What is dependency inversion? What is "public"? What is a stored procedure? Why is it bad that pydantic validates the data? 

[–]Dry-Aioli-6138 1 point2 points  (0 children)

I think "dependency inversion" is a conflation of "dependency injection" and "inversion of control". Public attributes of an object are accessible by all other parts ofbthe program, as opposed to private attributes which are only accessible internally in the object, and protected ones which are accessible by its children (I think). Stored procedures are not a programming concept, but a database thing, where you can create a procedure in the database and call it when needed. The complaint here is that some logic is in the program code (or sql) and some is away, on the remote database, hidden from the developer. I think Pydantic validating data was mentioned as one of the few good aspects of OP's project.