Better HN
topnewbestaskshowjobs
Log inSign up

matthw

8 karma · joined Jul 27, 2009 (17y ago) · 6 submissions

Submissions

comment 17y ago · link · parent

Ah, of course.

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

comment 17y ago · link · parent

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.

comment 17y ago · link · parent

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.

comment 17y ago · link · parent

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.

comment 17y ago · link · parent

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?