199 karma · joined May 12, 2016
Never mind. The answer before me did a much better job.
We're building an autonomous data processing system to make data engineers 10x+ more effective.
Currently open roles: ----------
Principal Product Manager https://www.linkedin.com/jobs/view/4319438984/
Staff or Senior Staff Tech Lead / Engineering Manager (Data Infrastructure) https://www.linkedin.com/jobs/view/4319530325/
Senior Marketing Executive https://www.linkedin.com/jobs/view/4317950237/
---------------- Please apply on LinkedIn if these sound interesting!
Concurrency's correct primitive is Hoare's Communicating Sequential Processes mapped onto green threads. Some languages that have it right are Java (since JDK17 - Java Virtual Threads), Go, Kotlin.
Despite your protests, for an average joe who just wants to stash a secret somewhere and not have it in plaintext, this is absolutely ok.
And the reason she experienced what she did is because of Project Roomkey and other similar initiatives - https://www.cdss.ca.gov/inforesources/cdss-programs/housing-...
These initiatives saved the hotel industry during COVID when demand fell off a cliff. These hotels still had mortgages but no clients. State intervention saved the industry.
However, your main point is valid (180 million/s seems way too high). I've started a thread internally to double check these numbers. Please wait for an update.
If California were a country, it would rank 5th highest in the world in debt-to-GDP ratio right behind Japan, Venezuela, Sudan, Greece and Lebanon.
That said, debt-to-tax-revenue is a more useful financial measure. The total CA tax revenue (income, sales, corporate tax) is about $173B [1]. The debt-to-total-tax-revenue is 293%. Since we don't want to shut down Schools, Medicare, SNAP, Pensions & Unemployment, the debt-to-discretionary-expenses is even more dire at 704% limiting the ability of the state to make a dent in the debt payments without increasing taxes.
In effect, CA is neck deep in debt no matter how you look at it.
The only reason the recommendation isn't as strong for private static is that the scope of the "virulent" recursive refactor is limited to the class within which this method was located. If there wasn't a public static method calling this private static one, the refactor ends there.
Personally, I recommend against both public static and private static (I think they produce needless work) however only public static meets the bar for a style guide.
With respect to non-perf reasons, Factories should also be non-static. Here's why: 1. Factories that are part of a dependency injection framework (Guice, Dagger, Spring) are actually "objects" that the DI framework is moving around. These DI frameworks already enforce object creation (see: https://github.com/google/guice/wiki/GettingStarted for example -- everything is an object). 2. public static factory classes have significant disadvantages (eg. depending on another factory class is a direct, "hardcoded" brittle dependency). Avoiding this is straightforward - create factory objects (aka Modules) and register it with the DI framework (the only public static "singleton" object) - when an object is needed, ask for it and the DI framework will give it to you (implicitly through the factory).
Some exceptions to the above are: 1. Financial contracts (see ISDA derivatives). They're written with a big "human" document upfront and then there's a "notification addendum" attached to each use of that contract. 2. Master Sales Agreements (MSAs): The first MSA is a human-to-human agreement. Everything after that is order-forms. And negotiating the MSA requirements is very very human (risk, trust, effort, cost, benefit & promises). Order forms are pricing decisions that can be "automated" (especially around annual renewals if within budget without red flags).