Why are dates calculated from January 1st, 1970? [duplicate]

using date(January 1st, 1970) as default standard The Question makes two false assumptions: All time-tracking in computing is done as a count-since-1970. Such tracking is standard. Two Dozen Epochs Time in computing is not always tracked from the beginning of 1970 UTC. While that epoch reference is popular, various computing environments over the decades have … Read more

Multiple parameter closure argument type not inferred

See this scala-debate thread for a discussion of what’s going on here. The problem is that Scala’s type inference happens per parameter list, not per parameter. As Josh Suereth notes in that thread, there’s a good reason for the current approach. If Scala had per-parameter type inference, the compiler couldn’t infer an upper bound across … Read more

Is C# a single dispatch or multiple dispatch language?

OK, I understood the subtle difference where function overloading is different from multiple-dispatch. Basically, the difference is whether which method to call is chosen at run-time or compile-time. Now, I know everybody’s said this, but without a clear example this sounds VERY obvious, given that C# is statically typed and multiple-dispatch languages (apparently to me, … Read more

Specification for a Functional Reactive Programming language

I’m glad you’re starting by asking about a specification rather than implementation first. There are a lot of ideas floating around about what FRP is. From the very start in the early 90’s (when I was working in interactive graphics at Sun Microsystems and then Microsoft Research), it has been about two properties (a) denotative … Read more

Which programming languages can be used to develop in Android? [duplicate]

At launch, Java was the only officially supported programming language for building distributable third-party Android software. Android Native Development Kit (Android NDK) which will allow developers to build Android software components with C and C++. In addition to delivering support for native code, Google is also extending Android to support popular dynamic scripting languages. Earlier … Read more