> Unknown to most, Kubernetes was originally written in Java. If you have ever looked at the source code, or vendored a library you probably have already noticed a fair amount of factory patterns and singletons littered throughout the code base. Furthermore Kubernetes is built around various primitives referred to in the code base as “Objects”. In the Go programming language we explicitly did not ever build in a concept of an “Object”. We look at examples of this code, and explore what the code is truly attempting to do. We then take it a step further by offering idiomatic Go examples that we could refactor the pseudo object oriented Go code to.
I have a lot of respect for Kris but in this context, as the person who approved the PR adding the “Object” interface to the code base (and participated in most of the subsequent discussions about how to expand it), it was not done because we felt Go lacked a fundamental construct or forces an imperative style. We simply chose a generic name because at the time “not using interface{}” seemed to be idiomatic go.
The only real abstraction we need from Go is zero-cost serialization frameworks, which I think is an example of where having that would compromise Go’s core principles.
I agree with this; most of the folks I work with spend a lot (to me) on clothes. Once I started buying more fashionable clothes I noticed I felt more like part of the group. Even though nobody changed their behavior to me, it definitely boosted my feeling of acceptance at work.
Out of frustration for this, I wrote Craig Federighi an email some years back. I asked if it was possible to just disable the spaces animation without disabling ALL animations, since the rolling animation makes me nauseous. Previously I had used yabai, but it needed to disable SIP in order to switch without an animation, which was a no-go for me.
He responded with several follow up questions, but nothing came of it unfortunately… Hopefully it’s on someone’s task list somewhere
Is this when using fullscreen apps / spaces? I exist entirely between iterm and chrome, so I use iterms non-native fullscreen so that it’s fast to switch otherwise the OS lag is unbearable.
> Unknown to most, Kubernetes was originally written in Java. If you have ever looked at the source code, or vendored a library you probably have already noticed a fair amount of factory patterns and singletons littered throughout the code base. Furthermore Kubernetes is built around various primitives referred to in the code base as “Objects”. In the Go programming language we explicitly did not ever build in a concept of an “Object”. We look at examples of this code, and explore what the code is truly attempting to do. We then take it a step further by offering idiomatic Go examples that we could refactor the pseudo object oriented Go code to.