Jul 13
YourLanguageSucks is a wiki on theory.org that lists reasons why the most popular programming languages suck. There are long lists of reasons why Java, JavaScript, C++ and PHP suck. But the list for C# is very short:
- Supports ‘goto’.
- Two distinct sets of collections: non-generic and generic. Stack and Queue have the same name in both their generic and non-generic flavors, but then we have Hashtable (non-generic) and Dictionary (generic).
The first reason is easy to discount: just avoid using goto! The second reason is valid, but not really an issue if you use only generic collections, as I do.
Read the rest on DevTopics >>
Feb 05
Do you notice anything odd about the following list?
00000000-9b6d-4998-9dd7-6026894bdfba
11111111-9022-4400-bac2-8b66a9874443
22222222-a890-4dec-98bc-f41536b760bc
33333333-e361-4239-8d04-3f16f68ad9ce
44444444-d8c2-40ab-91bd-5a84511ed9d3
55555555-447a-4aa9-a51f-35c74a154156
66666666-193b-4ac3-bd92-860b6b49aedb
77777777-49de-4cc5-b9e6-2e5785dd47af
88888888-0d00-4672-933a-d68e240772be
99999999-7d9d-4d77-9e35-5e919db0f7d1
aaaaaaaa-76cd-4d6b-bae2-574e5b57c7ab
bbbbbbbb-6f9e-4d2d-ba11-64df5c7355fa
cccccccc-b897-4b15-9ab3-11b97836ce85
dddddddd-b417-48ad-8b5b-b762df75e03b
eeeeeeee-cc9c-4cb8-bae0-bbd4b10307fa
ffffffff-8d46-4a31-b297-2ac67dda3600
Read the rest of this entry »
Feb 05
Here is a collection of puns that only a C# programmer could appreciate:
- abstract art gallery() { … }
- bool me_over;
- byte me;
- c++;
- case in_point:
- char broiled;
- class action { … };
- const int pressure;
- Convert.ToString( hemp );
- decimal results;
- double jeopardy;
- Exception taken;
- event handling;
- for (score = 20; years == 7; ) { … }
- foreach (hot chick in this.room) { flirt(); }
- float valve;
- Graphics ex;
- int erupt;
- lock (this.up) { … }
- long john_silver;
- long walk(short pier) { … }
- object strongly;
- override your objection() { … }
- private property keep_out() { … }
- protected free speech() { … }
- public display of_affection() { … }
- return to_sender;
- short circuit;
- sizeof (the_situation);
- static cling free() { … }
- string cheese;
- struct by_lightning { … };
- take a; break;
- throw up;
- typeof (writer);
- uint rested;
- ulong for_love;
- unsafe { at any = speed; }
- using your.brain;
- virtual void in_my_heart() { … }
- void where_prohibited() { … }
- while (e_coyote) { … }
And for the grand finale:
struct SoftwareConsultant {
double salary;
long lunches;
float jobs;
char unstable;
void work;
int hiring_him_again;
const pain_in_the_backside;
unsigned agreement;
short fuse;
volatile personality;
static progress;
};
/* and there are no unions in sight */
Source: Some original, some from here and here.