2,691 reputation
11326
bio website andreaferretti.it
location Bonn, Germany
age
visits member for 4 years
seen 11 hours ago

May
28
comment Is Bubble Sort the slowest sorting algorithm?
The fact is that giving a precise definition of "reasonable", and so making this question answerable at all, would be a rather difficult task. By far harder than answering most questions on SO.
May
13
awarded  Civic Duty
May
11
answered Single line comments for multiple indented lines of code
May
10
awarded  Nice Answer
May
10
comment isn't number localization just unnecessary?
I think you have mistunderstood my claim. I contested the OP sentence "but wouldn't this actually cause more confusion to the user (even if he is German)." So I think we agree.
May
10
answered isn't number localization just unnecessary?
May
9
comment Is javascript worth learning if you do not plan on being a web developer?
I disagree. It is the only widespread prototype-based language. Moreover, among widespread languages, it has one of the best support for closures. So one can learn something valuable using it. Finally, it is blazingly fast for an interpreted language.
May
8
comment What is the historical basis of using Javascript in web programming?
Standard libraries for I/O in Javascript are being written. Of course these are not available in the browser. I'm justg saying that if Python was implemented in the browser, unsafe libraries would not be available. And presumably you would not miss them, since they are not meant to be used on a website.
May
7
comment What is the historical basis of using Javascript in web programming?
That does not make sense. IT is up to the environment to decide which APIs are available for a programming language. Of course, if Python was shipped in browsers, it would have access to the same APIs Javascript has now (like the DOM), so it would have no way to create any damage.
Apr
29
comment Version control management of large projects
I agree. But I have never worked in a large team, and I'm not sure it would be unlikely in a project with 50000 files and 500 people.
Apr
29
comment Version control management of large projects
I agree, but Carl and Bob have just pulled from the server. Let us say that Bob finishes his merge first, and pushes it to the server. Let us also assume that Carl is a good guy, so instead of pushing is merge, he pulls again to see whether there are any new changes. The situation will be identical, the only difference being that the mess is now on Carl's computer rather than on the server. The problem is that people can make not only different changes - that should be merged - but also different merges, and merges of merges and so on...
Apr
29
comment Version control management of large projects
Mercurial, unlike SVN, is not centralized. So there is not really any hierarchy like the one you describe. Appearance of heads is the rule in Mercurial, and merging of two branches is rather painless. I was wondering what happens in a more complex situation, though.
Apr
29
asked Version control management of large projects
Apr
25
comment Lecture-like CS videos
Thank you for your suggestion. Still, as I remarked in another answer, I do not need long list of courses. I need just a few suggestions of courses poeple actually watched, and found usable and nicely edited. Sadly, most of the courses I found online are unuseful, as they are just the result of leaving a still camera in front of the speaker. It takes some work to do a proper editing, and this is what I am looking for. If you have a particular suggestion among the ones in the list, please tell me.
Apr
25
comment Lecture-like CS videos
Thank you for your answer, but I do not really need pointers to lists of videos. Those I can find on Google. As I explained in the question, many videos are just shots of someone talking with a fixed camera. These are not really useful. It takes some work of editing and more than one camera to do a usable video, and writing to a blackboard helps. I am explicitly looking only for this kind of videos. Please, if you had a look at some of the videos you linked, and found them useful and nicely edited, add them as a separate answer.
Apr
25
asked Lecture-like CS videos
Apr
21
awarded  Nice Answer
Apr
20
answered What Impact Do Scripting Languages Have on Junior Programmers?
Apr
20
comment Tabs versus spaces—what is the proper indentation character for everything, in every situation, ever?
"A tab could be a different number of columns depending on your environment" Yes, this is exactly the advantage. Everyone can set it to his taste and be happy.
Apr
2
answered Is the rule of 10% code is comments still valid?