Java's String Class Contains Something Utterly Evil
Before I unveil the atrocities of the String class in Java we are going to do a simple test. In order to get the most accurate results from the test you should try to do it as if it was a normal task at work. By the very fact that you know this is a test you will probably not do it like it is a normal task at work but at least try not to read the source code of the Java methods you are going to call. So here is the task – Write a method that given a string replaces all the occurrences of the substring "…" with the string ",,,". For example given the input " a.,...b...c." the method should return "a.,,,,b,,,c."...
Bing Steals from Google. So What?
You have probably read the news
about Google accusing Microsoft of stealing their search results. The reaction of Microsoft moved in the whole range from not denying
to accusing Google of click fraud
. Undoubtedly the whole Internet population eagerly awaits my verdict on this case.
The Broken Web 4 - HTML5 Edition
As you probably know there is a new kid in the Web town and it is called HTML5. The web mafia claims that HTML5 will free us from nasty plugins like Flash, Silverlight and Java and even from the desktop applications because it is so cool and has so many features and no developer will be able to resist it… oh… and it works on the iPad! These days every second tech blog is writing about HTML5, there are HTML5 talks on every tech conference and respectable tech-related website with countless readers like this one cannot miss the opportunity to comment on the matter...
Programing Language Typing Disciplines
Recently I run into another case of developers who are confused by all the static vs. dynamic and weak vs. strong type system classification. And you know what? This is actually OK. Usually one can be a good developer in one type of language and understand how it works without knowing all the kinds of type systems and the terminology of the subject. However I still find it useful to try to explain it even though there are other and probably better resources out there. It is especially useful since most of my readers use C# and C# developers can benefit the most from this knowledge because C# combines several typing approaches...
As it turns out October is a conference-heavy month. Just ten days after Java2Days 2010
I visited DevReach 2010
. Like last year
the event was held at the Arena Cinema in Mladost, Sofia – a venue that is really big and comfortable. The presentations are projected on actual cinema screens and the audience sits in comfortable cinema seats. The conference had visitors from most countries from the Balkans and some visitors from more distant countries like Germany and Norway and they were not speakers. This meant that even Bulgarian speakers did their presentations in English.