C/C++, It’s Been Nice Knowing You

And so, with a hopefully final “File Uploaded Successfully” message, C++/ex4 and the entire summer semester draws to its sweaty end. A year and a day since my first day in Givat Ram (in Alex’s Preparatory Infi Course, for those of you who were around back then), I can leave the Aquarium Computer Lab with my held up high (and my back slightly stooped, from countless hours in front of the screen).

C/C++ has been a monster of a course; aggravatingly similar to every coding course I’ve taken: a repeated, all-too-familiar feeling of complete helplessness, of inability (at first, at least) to complete even the most mundane of tasks; a feeling of trying to dig through a brick wall. And inevitably, since you’re no different from anyone else, through the sweat, tears, and Google, blocks of logic and code start to fall into place. Trivial competencies snowball into full-fledged grasps of the syntactic intricacies. Though reaching nowhere near the span of larger coding courses (like Introduction to Object-Oriented Programming), where one learns how to create a decent, albeit miniscule code project, I enjoyed getting the “feel” for C/C++, which are certainly a mindset away from Java (for example). I will, however, enjoy even more not touching C ever again, cherishing as a memory that time when I had to count bytes in my head.

I randomly got a chance to discuss C++ with Michael Shynar, who was once my (probably) main partner in the largest code project I have worked on (though not as a coder at the time; I was a Requirements Designer, he was Project Manager). I remarked, now, that C++ is a ‘fun’ language (and though I do believe this, I assume it is primarily because of the natural, and specifically my own tendency to appreciate and become fond of things I spend enough time and effort on). Michael remarked that C++ is a good language for practicing in University, but if you’re managing a project with several different coders and you’re trying to keep track of what everyone is doing (and has done), it is crazy-hard.

Anyway, another notch under the belt (assuming and hoping for a passing grade in that horrible test the other day): another course has been taken, another language can be claimed to be known, though perhaps not yet experienced in full.

All things aside, though, I still prefer Spanish.

  • Uncategorized

3 thoughts on “C/C++, It’s Been Nice Knowing You

  1. אהבתי, אכן סיכמת יפה מאד את התהליך שעברנו בקורס הזה ובכלל בקורסי תיכנות

    לשנה הבאה בירושלים הבנויה!

  2. Just so history remembers me accurately: Crazy hard would be assembly. C++ is just regular hard. Pointers and manual garbage collection are two devils that any high level programmer should do without.

    Also, if you post in English, your comments should also be left aligned.

  3. אחרי שהיה לי ניסיון עולם-אמיתי עם C++ וקראתי ממש ממש הרבה על הנושא, אני יכול לסכם ש-C++ היא פשוט שפה גרועה, במובן שהיא לא בחירה טובה לאף משימה תכנותית.

    היא פשוט מסובכת מדי – לוקח שלושה חודשים להתחיל להשתמש בה כמו שצריך – וכדאי להשקיע את הזמן הזה, כי פרוייקט ב-C++ שלא כותבים בו “כמו שצריך”… שלא נדע. זה שני ספרים שלמים שצריך לקרוא, לפחות, וארבעה אם הפרוייקט משתמש ב-exceptions ויש לו יומרות להיות exception safe. אם הפרוייקט משתמש במה שנקרא new-style c++ (לעשות בזמן קומפילציה כל מה שאפשר), אז בכלל עדיף לזרוק הכל לפח ולכתוב הכל מחדש בשפה נורמלית, זה יהיה יותר קוסט-אפקטיבי מבחינת זמן פיתוח.

    בתחום האמבדד, תחושת הבטן שלי היא ש-C++ מוגבלת תהיה יותר אפקטיבית מ-C. בכל זאת יש בעייתיות כלשהי בפרוייקטים גדולים ב-C ול-C++ לפחות יש classים וכו’. מעבר לזה אין שום סיבה להשתמש ב-C++.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s