BBspot


Archives
 
Top 11
Top 11 Things Geeks Would Do After Being Rescued from a Mine
Classics
How White and Nerdy Are You?
Bush Proposes Faith- Based Firewalls for Government Computers
Microsoft Purchases Evil From Satan
Slashdot Story Generator
Which OS Are You?
Teen Using MySpace to Lure Bands to Los Angeles
The BBook of Geek
Recommended
Fark
Mental Floss
Geek Press
Wil Wheaton
Jonathan Coulton
I-Mockery
Jokes Gallery
Funny Pictures
More Links

Wednesday, January 26 12:00 PM ET

C# Compiler Warnings: Part 2

By Matthew Slyh

11. WARNING: Only 5% of your current code will be portable to the Open Source version of .NET (code named Mono). This percentage will decrease even further with the next version of .NET. After all, you get what you pay for!
10. WARNING: Implementing your own Win32 message loop for a Windows Form really defeats the purpose of using .NET in the first place.
9. WARNING: Placing your own initials in a comment header at the top of each module you change may come back to haunt you. Instead, always use your boss'
initials.
8. WARNING: Although C# allows code blocks to be marked as "unsafe", we call them "unsafe" for a reason. You appear to have ignored this subtle hint so we are taking this opportunity to warn you a second time.
7. WARNING: You appear to have marked your entire application as "unsafe". You may want to consider printing a consumer warning label on your software packaging. As a side note, nobody ever reads the Licensing Agreement so a more visible location may offer better legal protection.
6. WARNING: Declaring variables as "Int32" everywhere instead of "int" is just plain annoying. Please stop it.
5. WARNING: Although the use of the Internet Explorer Web Browser control is currently the only way to show HTML content on a Windows Form, its use is not recommended. Do we really need to say why?
4. WARNING: Despite the fact that most programming books leave it out, structured error handling is considered to be a good programming practice.
3. WARNING: Drag and drop database programming using the data components is only intended for newbies writing trivial applications. A project containing 400,000+ lines of code is not considered trivial. Please consider implementing an actual data layer in your project.
2. WARNING: Please do not contact Technical Support about this warning. Instead, send all correspondence to TimWigglenuts@Microsoft.com. Adding this warning was his brilliant idea.
1. WARNING: TimWigglenuts@Microsoft.com is not a valid email address. All spam sent to this email address will be forwarded to TimBiggernuts@Microcrotch.com.

 

Recommend This Story to a Friend
This one goes to 11.

More Top 11 Lists


Warning: Undefined variable $HTTP_SERVER_VARS in /home/bbspot/public_html/cgibin/prev_next_links.php on line 3

Warning: Trying to access array offset on value of type null in /home/bbspot/public_html/cgibin/prev_next_links.php on line 3

Warning: include_once(/work/php_mgr/sql.inc): Failed to open stream: No such file or directory in /home/bbspot/public_html/cgibin/prev_next_links.php on line 3

Warning: include_once(): Failed opening '/work/php_mgr/sql.inc' for inclusion (include_path='.:/opt/cpanel/ea-php80/root/usr/share/pear') in /home/bbspot/public_html/cgibin/prev_next_links.php on line 3

Warning: Undefined variable $db in /home/bbspot/public_html/cgibin/prev_next_links.php on line 5

Fatal error: Uncaught Error: Call to a member function qstr() on null in /home/bbspot/public_html/cgibin/prev_next_links.php:5 Stack trace: #0 {main} thrown in /home/bbspot/public_html/cgibin/prev_next_links.php on line 5

 
 
Follow on Twitter Follow Us on Twitter
Facebook Fan Us on Facebook
Amazon Find the BBook

 

  Politics Contact FAQs
A
D

Copyright 1999-2023 by BBspot LLC
BBspot is a tech satire news and geek humor source, and meant to be funny.
If you are easily offended, gullible, or don't have a sense of humor, we suggest you go elsewhere. Those without the geek gene activated should also avoid this site.