2,676 reputation
11225
bio website andreaferretti.it
location Bonn, Germany
age
visits member for 3 years, 10 months
seen yesterday

Jul
21
comment What limitations does the JVM impose on tail-call optimization
I see. I did not realize that being less smart could allow an optimization that would be otherwise forbidden.
Jul
21
accepted What limitations does the JVM impose on tail-call optimization
Jul
21
accepted Getting started with ClojureScript and Google Closure
Jul
21
accepted Lecture-like CS videos
Jul
21
accepted New insights I can learn from the Groovy language
Jul
21
asked What limitations does the JVM impose on tail-call optimization
Jul
20
comment Why is a small fixed vocabulary seen as an advantage to RESTful services?
Get a list of all resources, get a list of all resources with given constraints, update or delete a bunch of resources at the same time, create two different types of resources together atomically (so that both creations fail or succeed), delete all resources satifying a given condition... The list of things that one may want to do is quite long. One can fit them into a REST API, but it is not always natural. It also does not help that GET does not allow a body, so complex filtering conditions become akward.
Jul
20
comment If python compiles to assembly and an OS is written in it, will it compete favorably with C in benchmarks?
The point is that it is not clear that a "well optimized compiler" can be done, even in theory (there are limitations about what can be done algorithmically) and certainly in practice.
Jul
18
comment Why aren't design patterns added to the languages constructs?
Even object orientation can be thought as a particular pattern that was deemed useful and hence baked into many languages. In general, the presence of a pattern is an indicator of the lack of a language feature.
Jul
2
comment OAuth2 vs Public API
You got it almost right: essentially what you miss is that User A may want to give Site B only part of its data on Site C, or read-only access to this data, or revoke this permission at a later time. None of these things is doable if you just give away your password. Moreover, User A may want to change the password without revoking access to Site B. And for sure, he will not want Site B to be able to log him off. So here is where OAuth steps in. Of course, if the data is public, there is no need for OAuth and a public API is fine.
Jun
30
comment New insights I can learn from the Groovy language
We are now at 3 vote to close and still no indication whatsoever of what makes this a bad question :-(
Jun
30
comment New insights I can learn from the Groovy language
Thank you. I want to investigate Scala as well, but I have to learn Groovy since it is used where I am going to work.
Jun
30
revised New insights I can learn from the Groovy language
edited title
Jun
30
revised New insights I can learn from the Groovy language
added 301 characters in body
Jun
30
comment New insights I can learn from the Groovy language
I just received a downvote and a vote to close. Mind explaining why? The question seems fine to me, but I can improve it if it violates some rules.
Jun
30
accepted How should I evaluate new browser languages?
Jun
30
accepted What is the accepted style for using the `this` keyword in Java?
Jun
30
asked New insights I can learn from the Groovy language
Jun
29
comment one single compressed js file VS compressed requirejs module files
I am not sure I understand your concerns. With the optimizer you can get away with just two files: requireJS itself and the optimized file. Is it a problem loading two files instead of one?
Jun
27
comment Licensing a JavaScript library
You can just state the name of the license, providing a link to the full text. I do not see a way to make sure that the license is associated to the software if you do not want to write it in the comments.