News for hackers. Stuff that matters.

matthw

Re:My thoughts on Google Go on Thursday November 12, 2009 @07:16AM (#937598)
Ah, of course.

Although, gotta wonder how these stack-allocated objects interact with closures.

Re:My thoughts on Google Go on Thursday November 12, 2009 @06:30AM (#937548)
My question about Go: why does it need pointers?

Given that it has garbage collection, arrays/slices, and it disallows pointer arithmetic, it seems it would suffice to use references everywhere.

I thought maybe it was for easy interop with C APIs, but it seems it needs a FFI for that anyway.

Perhaps someone can enlighten me about that design decision? I'm sure there's a reason, I just don't immediately see it.

Re:Programmers should know math.. just not all of it on Friday October 16, 2009 @09:35AM (#885333)
When it comes to first-order logic, you don't actually need this to reason about conditionals.

That's just Propositional Logic (or Boolean Algebra, if you want to put it in a slightly more abstract setting, which wouldn't hurt since you can then apply it to other related things like set union/intersection/complement).

First-order logic is really useful for Relational Algebra though. Which you should know if you do anything with relational databases.

Re:Programmers should know math.. just not all of it on Friday October 16, 2009 @09:32AM (#885330)
I'd throw in some order theory too. Posets, lattices, boolean algebras etc. All crop up pretty often, if you know how to recognise them.

In fact I think often when people recommend graph theory for computer science, they're thinking more about order theory (trees, DAGs, posets etc), or failing that, more the "basic algorithms over graphs" stuff than the "let's prove a bunch of clever theorems about k-colourings" kind of graph theory which you might get if you bought a book on it.

Re:Spotify sets its sights on iPhone on Monday July 27, 2009 @10:32AM (#725885)
Of course apply have a bit of a history of denying apps from the app store which encroach on their territory (iTunes?).

Perhaps Spotify are just doing this to force Apple's hand, possibly reveal a bit of their strategy for iTunes subscription services?