 |
|
 |
Really good! Sadly I've seen a fair bit of code like that!
|
|
|
|
 |
|
 |
Code Project is no place for this kind of stuff.
|
|
|
|
 |
|
 |
Nice work. But your AddTwo() needs optimising. To take full advantage of today's modern CPU multi-cores the addition must be performed in a separate thread.
|
|
|
|
 |
|
 |
You may enjoy a long but very funny article in a similar vein entitled:
How to write unmaintainable code.
[^]
There are other variants specializing in VB or Java you can find on the internet.
Enjoy
|
|
|
|
 |
|
|
 |
|
 |
That was very nice article. Made me laugh alot. I love the comment WTF :P
|
|
|
|
 |
|
 |
To improve readability, arrange all the characters in variable names in alphabetical order.
|
|
|
|
 |
|
 |
It's perfect Laughed a lot)
|
|
|
|
 |
|
 |
This is great stuff! Loved it.
|
|
|
|
 |
|
 |
for the bunch of autistic spectrum inhabitants that we are, some of us are displaying a disappointing level of thoroughness in reading the article. either that or overinflated egos are obscuring the disclaimer
but whatever. I'm giving it a 5, because you can learn just as much from seeing how not to do things
|
|
|
|
 |
|
 |
A bit silly and pointless: not really worthy of article status.
|
|
|
|
 |
|
 |
couldn't agree more! I'm actually quite confused about what the author's intention for this article is, since his article title 'How to Become a Rumorous C# Developer' doesn't seem to align with the article content itself. I guess, he might just entertain himself to all the readers.
|
|
|
|
 |
|
 |
Try reading your own article...
|
|
|
|
 |
|
|
 |
|
 |
..too bad there some programmers who actually do this for real..
|
|
|
|
 |
|
 |
rAgeaggainStmaShine !! seriously ?
|
|
|
|
 |
|
 |
Really? That was a waste of time.
|
|
|
|
 |
|
 |
This is a very important tip if you want to become a REALLY Rumorous C# Developer:
Do not use C#
Write your own DSL that does something that can be done with C# (or any other well known language), only in an enigmatic and ultra-complex way.
So, instead of writing:
Form1 form1 = new Form1();
form1.Text = "Important Dialog";
form1.ShowModal(this);
Write:
<Root>
<ViewBank>
<View name="form1" type="win:Form">
<Property name="Text" type="sys:String" />
</View>
</ViewBank>
<ActivitySet first="initializeView">
<Activity name="initializeView" type="action:Initialization">
<Step name="SetTextProperty" type="Set" target="{local:form1-Text}" value="Important Dialog" />
<Next target="{local:Step-showView}" />
</Activity>
<Activity name="showView" type="action:UiAction">
<Step name="ShowForm" type="Show" target="{local:form1-object}">
<hints><![CDATA[subType=Modal;param0={caller:parent-object}]]></hints>
</Step>
<End />
</Activity>
</ActivitySet>
</Root>
In this way people will always come to you to for advice, because only you will know how it works (and more importantly: why it doesn't).
BTW
What IS rumorous? My speller did not recognize it. Is that some kind of a rumorous word?Ittay Ophir
ittay.ophir@gmail.com
|
|
|
|
 |
|
 |
Quick definitions (rumorous)
(a.) Famous; notorious.
(a.) Murmuring.
(a.) Of or pertaining to a rumor; of the nature of rumors.
(This definition is from the 1913 Webster's Dictionary and may be outdated.)
|
|
|
|
 |
|
 |
this nice article raised my spirit! )
|
|
|
|
 |
|
 |
Negative examples were fun in Rob Pike's The Practice of Programming.
|
|
|
|
 |
|
|
 |
|
 |
The time you took to write this article would be more well spent writing a good practices article.
|
|
|
|
 |
|
 |
Writing about anti patterns is just as important as patterns.
Life is a game. Play to win
|
|
|
|
 |
|
 |
I don't agree.
Bad programming is something widely shared among developpers (including myself), there's always something wrong that everyone of us can do. Learning what a bad code can be saving for a lot of us.
I can say that I improved myself seeking and correcting code and learning from other's mistake.
These samples maybe obvious for most developpers, not for all. What did you say when someone showed you your first SQL Injection ? You learned from it, didn't you ? Newbies can learn from these samples above.
|
|
|
|
 |