676 karma · joined Mar 11, 2009 (17y ago) · 186 submissions
comment 7y ago · link · parent
I have used Go extensively and would disagree with the idea that the lack of generics in go was ill-informed (and therefore a mistake). I find that Go's limited number of features leads to simpler libraries that are much easier to comprehend and use effectively. And in situations where I previously would have reached for generics I am forced to find a different approach and the end result is often better. Yes it does have its drawbacks and is not a perfect solution, but as far as engineering decisions go, I feel it was a successful one.
comment 7y ago · link · parent
1. Go doesn't have generics because the authors didn't have strong grasp of type theory.
2. Go doesn't have generics, not from a lack of knowledge, but because the authors' real world software engineering experience had shown to them it wasn't important.
comment 8y ago · link · parent
https://www.theverge.com/2018/2/7/16984234/how-to-iphone-thr...
comment 8y ago · link · parent
https://forums.macrumors.com/threads/iphone-6s-turning-off-a...
https://www.reddit.com/r/apple/comments/4vne2w/does_anyone_e...
And Apple cut the price of battery replacement from $79 -> $29 in response to it.
comment 8y ago · link · parent
Why not just advocate for the the corporate world to be more accepting of personal life choices? Firing Kaplan doesn't get you any closer to that.
comment 8y ago · link · parent
Yes this happens, but should it be the case? Is this something you morally support? Should people be fired for smoking weed in their personal time? Posting on social media? Making a joke to a friend? Donating a political campaign?
People have been fired for these things but I don't think it should be lauded. I don't think its healthy for companies to monitor their employee's personal life, so they can punish them at work.
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 9y ago · link · parent
https://en.wikipedia.org/wiki/List_of_best-selling_video_gam...
comment 9y ago · link · parent
for case let (title?, kind) in mediaList.map({ ($0.title, $0.kind) }) where title.hasPrefix("Harry Potter") {
print(" - [\(kind)] \(title)")
}
http://alisoftware.github.io/swift/pattern-matching/2016/05/...comment 9y ago · link · parent
comment 9y ago · link · parent
comment 9y ago · link · parent
comment 9y ago · link · parent