May 18, 2007
Somewhere in this month discovered in logs of this site that total number of visitiors who use Gecko (FireFox and Mozilla) and Opera browers became first time larger than number of Internet Explorer users. Of course this site has specific auditorium but nevertheless…
March 13, 2007
return in finally sections is a bad idea:
function foo()
{
try
{
try { return 1/0; } catch(e) { return 2; } finally { return 3; }
}
catch(e) { return 4; } finally { return 5; }
}
Probably return allowance in finally sections is a design flaw of JavaScript language itself?
March 10, 2007
And what answer will give us following function?
function test()
{
var flavour = "optimistic";
try
{
return flavour = "pessimistic", "I am " + flavour + " optimist";
}
finally
{
return "I am " + flavour + " pessimist";
}
}
March 9, 2007
What will following JavaScript function return?
function test()
{
try
{
return "I am optimist";
}
finally
{
return "I am pessimist";
}
}
Try to answer as this is a good chance to measure your attitude
March 8, 2007
W3C decided to reincarnate HTML development.
Phylosophical difference between HTML and XHTML can be demonstraed by the fact that tag <html> is optional in HTML and is not in XHTML. By definition of XML (XHTML):
Definition: A data object is an XML document if it is well-formed, as defined in this specification. In addition, the XML document is valid if it meets certain further constraints.
(source)
What means that if UA (user agent, browser) can deal with loading XHTML document only when it receives closing </html> and everything inside is valid. To be short: any partial markup is not XHTML by definition and can be interpretted as such.
March 5, 2007
We have moved forum to the new location.
For many reasons we like bbpress engine more than PHPBB.
It is not possible to convert user accounts so please register yourself again.