605 karma · joined Nov 8, 2017 (9y ago) · 144 submissions
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
I've actually been using Terraform to manage Kubernetes resources at my latest job, along with literally everything else. I don't even use alb-ingress-controller or external-dns or any of that. I just have Terraform make target groups from the service resources. It breaks a lot less.
comment 6y ago · link · parent
I'm (perhaps unfairly) uninterested in writing out all the details, but “they think they know better” is because I see Go as someone's attempt to update C to the modern world without considering the lessons of any of the languages developed in the meantime. And because of the weird dogmatic wars about generics, modules, and error handling.
comment 6y ago · link · parent
I basically emulate this in other languages, like Rust, with an “options” struct that has default values.
comment 6y ago · link · parent
comment 6y ago · link · parent
Also lots of people love to add _ or m_ before fields to distinguish them from local variables, so why not just use `this.`? I think once you actually use this style it starts to make a lot more sense.
comment 6y ago · link · parent
Don't get me wrong, my favorite language is Rust, but pretending the JavaScript ecosystem is unusable doesn't make you cool. I can be extremely productive in TypeScript.
comment 7y ago · link · parent
This is the larger issue, but the `useCallback` hook can be used to memoize anonymous render functions based on given values to avoid this problem.
comment 7y ago · link · parent
comment 7y ago · link · parent
Using prisoners for profit means there is profit in imprisoning more people.
comment 7y ago · link · parent