TheWorstCoderEver doesn't know C++. At all.
-
- Posts: 47
- Joined: Wed Feb 01, 2006 8:09 pm
- Location: Wroclaw
- Contact:
TheWorstCoderEver doesn't know C++. At all.
Hi,
Many a year has passed since The Worst Coder Ever haunted this forum, and many things have happened in his life since. He got a job, learned PHP, wrote a web application in PHP as a part of his job, he became an assistant webmaster sort of of a public portal. Lately he had a bit more time to spare, so he decided to refresh his C++ skills. And then he realized the awful truth - he doesn't even know the basics of C++!
Switching to first-person mode.
I admit I've had little experience manipulating strings in C++. The first time I did anything that had to do with string parsing and concatenation was in PHP and Java. The problem, as I found today, was that I didn't know the size_t type, and once I found it I wrote a working parser for the config file. But it doesn't stop there.
According to the reply I've got on the Devmaster forums (http://www.devmaster.net/forums/showthread.php?t=12645) I'm completely unfamiliar with the C and C++ concepts such as: templates, singletons, classes, objects, pointers, references, dereferences, namespaces etc. The post implies that I'm am completely, but completely ignorant of them. Ok, I admit that working with a scripting language that doesn't enforce strict type checking can make you unlearn some behaviors, but I didn't know that I've completely unlearned the very first language I started to program in!
Sorry for me being nervous in this post. I blame it on stressful job.
Many a year has passed since The Worst Coder Ever haunted this forum, and many things have happened in his life since. He got a job, learned PHP, wrote a web application in PHP as a part of his job, he became an assistant webmaster sort of of a public portal. Lately he had a bit more time to spare, so he decided to refresh his C++ skills. And then he realized the awful truth - he doesn't even know the basics of C++!
Switching to first-person mode.
I admit I've had little experience manipulating strings in C++. The first time I did anything that had to do with string parsing and concatenation was in PHP and Java. The problem, as I found today, was that I didn't know the size_t type, and once I found it I wrote a working parser for the config file. But it doesn't stop there.
According to the reply I've got on the Devmaster forums (http://www.devmaster.net/forums/showthread.php?t=12645) I'm completely unfamiliar with the C and C++ concepts such as: templates, singletons, classes, objects, pointers, references, dereferences, namespaces etc. The post implies that I'm am completely, but completely ignorant of them. Ok, I admit that working with a scripting language that doesn't enforce strict type checking can make you unlearn some behaviors, but I didn't know that I've completely unlearned the very first language I started to program in!
Sorry for me being nervous in this post. I blame it on stressful job.
-
- Posts: 47
- Joined: Wed Feb 01, 2006 8:09 pm
- Location: Wroclaw
- Contact:
Maybe this one is for the best.TheWorstCoderEver wrote:completely unfamiliar with the C and C++ concepts such as: ... singletons
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Singletons are extremely useful, when used in moderation and at the appropriate place. It's the same with assembly coding. If you code random part in assembly, you're just going to make your app worst. But if you've targeted a one in a million place where you have both a possible improvement and a bottleneck, then assembly can be good. It's all a question of context.
Yeah, why don't we argue over tabs vs spaces while we're at it.Seven wrote:whew...... can we discuss straight C vs C++ now?
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
-
- Posts: 47
- Joined: Wed Feb 01, 2006 8:09 pm
- Location: Wroclaw
- Contact:
I can see that you fell in my trap, BlindSide. I perfectly knew that singletons are a design pattern that is not exclusive to C++, but nevertheless decided to check whether there are people on the forum who are mean enough to laugh at my staged mistake. Got one so far.BlindSide wrote:Maybe this one is for the best.TheWorstCoderEver wrote:completely unfamiliar with the C and C++ concepts such as: ... singletons
-
- Posts: 362
- Joined: Sun Dec 16, 2007 9:25 pm
nothing FTWMirror wrote:tabs FTWBlindSide wrote:Yeah, why don't we argue over tabs vs spaces while we're at it.Seven wrote:whew...... can we discuss straight C vs C++ now?
Code: Select all
#include<iostream>int main(){using std::cout;cout << "lol";return 0;}
Post this userbar I made on other websites to show your support for Irrlicht!
http://img147.imageshack.us/img147/1261 ... wernq4.png
http://img147.imageshack.us/img147/1261 ... wernq4.png
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
YRUBngSoVrbsSrlyUKnwTrsCOdRnsFstr?
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
I just don't want anyone catching singletonitis.TheWorstCoderEver wrote:I can see that you fell in my trap, BlindSide. I perfectly knew that singletons are a design pattern that is not exclusive to C++, but nevertheless decided to check whether there are people on the forum who are mean enough to laugh at my staged mistake. Got one so far.BlindSide wrote:Maybe this one is for the best.TheWorstCoderEver wrote:completely unfamiliar with the C and C++ concepts such as: ... singletons
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
-
- Posts: 47
- Joined: Wed Feb 01, 2006 8:09 pm
- Location: Wroclaw
- Contact:
Worry not for reasons two:I just don't want anyone catching singletonitis.
1) An advanced Zen practitioner am I, to enlightenment very close, and the mental attachements hold sway over me longer not
2) My kung fu and chi very strong are, and my inner systems likewise are immune very, and the disease however strong can touch me not.
Namaste
TheWorstCoderEver, programmer-artist.