Dark font on dark background. Unreadable.
Alas, this site is not an exception. Many websites sacrifice readability to some graphic designers' whim.
51–58 of 58 posts
Dark font on dark background. Unreadable.
Alas, this site is not an exception. Many websites sacrifice readability to some graphic designers' whim.
C++ contains a syntactical shorthand for simultaneously declaring a variable and branching on its value. if (MouseEvent *mouse = dynamic_cast (event)) I think it is a complicated description and a complicated example for saying that the assignment operator (=) returns the value that was assigned.
There are some problems with that method though. If, for example, you'd like to reverse the condition, you can't write if (!(MouseEvent *mouse = dynamic_cast (event))) {} because a definition is not a general expression, but was only added as an "extra" to allow its use in some cases in conditionals.
Earlier quoted context omitted.
There are some advantages to the company firewall blocking style sheets.
Sorry, I know I'm drifting massively off topic now, but why on earth would any company adopt such a policy? It's not even as if CSS files can carry executable code (sure, they can reference such content, but then block that stuff instead of the style sheets themselves).
Re. the "redefining keywords" trick. I know this works with at least some versions of g++. However when I tried doing it in MSVC 2008 I ended up with link errors between the library object files (compiled without the redefinition trick) and the app executable that did use the trick. It looked like MSVC was encoding the visibility in the mangled method names.
Back to the content, C++ syntax has always been a bit nasty, and the try/catch for constructor initializers adds yet another wart. It makes me miss LISP again.
Earlier quoted context omitted.
Don't the mainstream browsers support custom styling yet? Like say, a high contrast style?
In Opera, "Page > Style > User Mode" does the trick. I know FF and IE have similar functionality, but I don't know the shortcut.
Earlier quoted context omitted.
Don't the mainstream browsers support custom styling yet? Like say, a high contrast style?
In Opera, "Page > Style > User Mode" does the trick. I know FF and IE have similar functionality, but I don't know the shortcut.