(and that's actually awesome)
267 karma · joined March 17, 2009
(and that's actually awesome)
Overall, a good CS degree exposes you to things you don't know you don't know (a big pitfall in self study) I really respect the self taught devs, because they have to work harder for it.
Natural transformations between functors gives you parametricity and "theorems for free"
Another result that's used directly is the CoYonneda lemma (but I'm still trying to understand it :) )
The point is: category theory in spite of being totally abstract offers many interesting results that can be applied to day-to-day coding :)
> file, err = os.Open("file.txt")
> if err != nil {
> ... handle error ...
A type system with generics can use types to make an error a different type and produce a compile error if you don't handle the case without making the code more complex.We failed mostly because our product was overly ambitious, solving a broad problem.
Yes, is just an anecdote, but my point is that distributed team can run circles around most of colocated teams and we wouldn't have been able to assemble that team if we insisted that everybody had to be on the same place.
Care to explain? Doesn't make any sense to me...
(i.e. if you have two functions that compose, mapping the composition is the same as mapping each one and compose the results)
In functional programming, a lot of concepts are from CT, specially because of the focus on composition that both have. By using CT results they can do pretty crazy things with code and have the math to back it up :)
To be fair, I just recently started learning the subject, but I think it has a lot to offer.
And look! here we are, talking in "social media" about her... damn!
Totally agree. I found the article helpful overall, I understand it must have been difficult to write it, so I'm giving it more leeway
Maybe if Go was dynamic or with full type inference, will like it more :)
I bet is great for the niche between C++ and Java, but not sure if I would want to use as a general programming language