<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Suche gute Notation für C++]]></title><description><![CDATA[<p>Hi,<br />
ich bin noch auf der Suche nach einer sinnvollen Notation für C++. Für C gibt es ja die &quot;Ungarische Notation&quot;. Diese kann man ja teilweise in C++ auch anwenden, sie macht aber nicht ganz so viel Sinn wie in C.</p>
<p>Wie macht ihr das? Also wie benennt ihr eure Variablen, Klassen... ?</p>
<p>Wenn ihr einen Link oder Buch dazu hättet dann nur her damit. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Mfg Mo3bius</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/273789/suche-gute-notation-für-c</link><generator>RSS for Node</generator><lastBuildDate>Thu, 27 Aug 2026 22:38:39 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/273789.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 13 Sep 2010 12:36:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Suche gute Notation für C++ on Mon, 13 Sep 2010 12:36:25 GMT]]></title><description><![CDATA[<p>Hi,<br />
ich bin noch auf der Suche nach einer sinnvollen Notation für C++. Für C gibt es ja die &quot;Ungarische Notation&quot;. Diese kann man ja teilweise in C++ auch anwenden, sie macht aber nicht ganz so viel Sinn wie in C.</p>
<p>Wie macht ihr das? Also wie benennt ihr eure Variablen, Klassen... ?</p>
<p>Wenn ihr einen Link oder Buch dazu hättet dann nur her damit. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Mfg Mo3bius</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1951968</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1951968</guid><dc:creator><![CDATA[Mo3bius]]></dc:creator><pubDate>Mon, 13 Sep 2010 12:36:25 GMT</pubDate></item><item><title><![CDATA[Reply to Suche gute Notation für C++ on Mon, 13 Sep 2010 12:46:35 GMT]]></title><description><![CDATA[<p>Sinnvolle Notation:<br />
1. Keine ungarische Notation benutzen.<br />
1.5: Wenn man Typennamen von Objektinstanzen unterscheiden will, kann man dies beispielsweise durch unterschiedlich Groß-/Kleinschreibung tun.<br />
2. Nur englische Bezeichner benutzen<br />
3. Sprechende Namen verwenden, Typeninformation im Namen ist irrelevant<br />
3.5: Wenn es unbedingt sein muss sind Namen wie <code>i</code> und <code>j</code> noch ok für Schleifenvariablen. Der Name <code>counter</code> würde auch nicht viel mehr sagen. Besser wäre natürlich ein Name der beschreibt, was gezählt wird.<br />
4. Abkürzungen vermeiden<br />
5. Das wichtigste: <strong>Konsequent sein</strong></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1951976</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1951976</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Mon, 13 Sep 2010 12:46:35 GMT</pubDate></item><item><title><![CDATA[Reply to Suche gute Notation für C++ on Mon, 13 Sep 2010 13:07:32 GMT]]></title><description><![CDATA[<p>SeppJ schrieb:</p>
<blockquote>
<p>Sinnvolle Notation:<br />
1. Keine ungarische Notation benutzen.<br />
1.5: Wenn man Typennamen von Objektinstanzen unterscheiden will, kann man dies beispielsweise durch unterschiedlich Groß-/Kleinschreibung tun.<br />
2. Nur englische Bezeichner benutzen<br />
3. Sprechende Namen verwenden, Typeninformation im Namen ist irrelevant<br />
3.5: Wenn es unbedingt sein muss sind Namen wie <code>i</code> und <code>j</code> noch ok für Schleifenvariablen. Der Name <code>counter</code> würde auch nicht viel mehr sagen. Besser wäre natürlich ein Name der beschreibt, was gezählt wird.<br />
4. Abkürzungen vermeiden<br />
5. Das wichtigste: <strong>Konsequent sein</strong></p>
</blockquote>
<p>1. Ist deine persönliche Ansicht<br />
Keine Ahnung warum manche so auf der ungarischen Notation herumhacken <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1951988</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1951988</guid><dc:creator><![CDATA[ungar]]></dc:creator><pubDate>Mon, 13 Sep 2010 13:07:32 GMT</pubDate></item><item><title><![CDATA[Reply to Suche gute Notation für C++ on Mon, 13 Sep 2010 13:22:24 GMT]]></title><description><![CDATA[<p>ungar schrieb:</p>
<blockquote>
<p>1. Ist deine persönliche Ansicht<br />
Keine Ahnung warum manche so auf der ungarischen Notation herumhacken <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
</blockquote>
<p>Weil mit ungarischer Notation normalerweise die ungarische Notation im Microsoftstil gemeint ist, nicht die ursprüngliche Idee. Das was man heutzutage meint ist nämlich die Typinformation in den Bezeichner zu packen. Dies ist in C++ offensichtlich eine ganz schlechte Idee, wie der Threadersteller schon selbst erkannt hat. Offensichtlich meint er auch diese Art der ungarischen Notation.</p>
<p>Die ursprüngliche Idee der ungarischen Notation, dass man den Verwendungszweck der Variablen in den Bezeichner aufnimmt ist hingegen eine ganz tolle Idee. Genau das schlage ich ja auch vor. Bloß braucht man heutzutage kein kryptischen Abkürzungen mehr, da man keinen Speicherplatz sparen muss und einem viele Entwicklungsumgebungen viel Schreibarbeit dank Textautovervollständigung abnehmen.<br />
Stattdessen sollte man wie vorgeschlagen beschreibende Namen nehmen, für die man keine Übersetzungstabelle neben dem Rechner liegen haben muss.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1951998</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1951998</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Mon, 13 Sep 2010 13:22:24 GMT</pubDate></item><item><title><![CDATA[Reply to Suche gute Notation für C++ on Mon, 13 Sep 2010 14:04:46 GMT]]></title><description><![CDATA[<p>ungar schrieb:</p>
<blockquote>
<p>Keine Ahnung warum manche so auf der ungarischen Notation herumhacken <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
</blockquote>
<p><a href="http://www.c-plusplus.net/forum/viewtopic-var-p-is-1773551.html#1773551" rel="nofollow">Hier</a> eine ausführliche Begründung dazu.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1952017</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1952017</guid><dc:creator><![CDATA[Nexus]]></dc:creator><pubDate>Mon, 13 Sep 2010 14:04:46 GMT</pubDate></item><item><title><![CDATA[Reply to Suche gute Notation für C++ on Mon, 13 Sep 2010 16:14:50 GMT]]></title><description><![CDATA[<p>Nexus schrieb:</p>
<blockquote>
<p>ungar schrieb:</p>
<blockquote>
<p>Keine Ahnung warum manche so auf der ungarischen Notation herumhacken <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
</blockquote>
<p><a href="http://www.c-plusplus.net/forum/viewtopic-var-p-is-1773551.html#1773551" rel="nofollow">Hier</a> eine ausführliche Begründung dazu.</p>
</blockquote>
<p>oder auch <a href="http://www.drdobbs.com/184403804" rel="nofollow">hier</a>.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1952078</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1952078</guid><dc:creator><![CDATA[brotbernd]]></dc:creator><pubDate>Mon, 13 Sep 2010 16:14:50 GMT</pubDate></item><item><title><![CDATA[Reply to Suche gute Notation für C++ on Mon, 13 Sep 2010 18:07:41 GMT]]></title><description><![CDATA[<p>Man braucht - weder in C noch in C++ - irgendwelche Vorschriften für Namen. Notationen wie die Ungarische Notation sind rein freiwillig, manchmal sinnvoll.<br />
Sprechende Namen - wie Alter, GebDatum, TelNr, Email, ... - sind deutlicher. Allein für temporäre Integers in Schleifen empfehlen sich kurze Namen nach der alten FORTRAN-Regel i, j, k, ... n. Sonst nix! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1952126</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1952126</guid><dc:creator><![CDATA[berniebutt]]></dc:creator><pubDate>Mon, 13 Sep 2010 18:07:41 GMT</pubDate></item><item><title><![CDATA[Reply to Suche gute Notation für C++ on Mon, 13 Sep 2010 19:07:56 GMT]]></title><description><![CDATA[<p>Nexus schrieb:</p>
<blockquote>
<p>ungar schrieb:</p>
<blockquote>
<p>Keine Ahnung warum manche so auf der ungarischen Notation herumhacken <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
</blockquote>
<p><a href="http://www.c-plusplus.net/forum/viewtopic-var-p-is-1773551.html#1773551" rel="nofollow">Hier</a> eine ausführliche Begründung dazu.</p>
</blockquote>
<p>Ist auch immer nur Ansichtssache <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1952154</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1952154</guid><dc:creator><![CDATA[ungar]]></dc:creator><pubDate>Mon, 13 Sep 2010 19:07:56 GMT</pubDate></item><item><title><![CDATA[Reply to Suche gute Notation für C++ on Mon, 13 Sep 2010 19:42:52 GMT]]></title><description><![CDATA[<p>Na, dann bring doch mal Argumente für die ungarische Notation, die in dem geposteten Thread noch nicht widerlegt wurden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1952167</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1952167</guid><dc:creator><![CDATA[anti ungar]]></dc:creator><pubDate>Mon, 13 Sep 2010 19:42:52 GMT</pubDate></item><item><title><![CDATA[Reply to Suche gute Notation für C++ on Mon, 13 Sep 2010 20:20:03 GMT]]></title><description><![CDATA[<p>Ich halte es nicht für sinnvoll, bei einem Thema wie diesem darauf hinzuweisen dass etwas nur eine &quot;persönliche Meinung/Ansicht/...&quot; ist. Was soll es denn sonst sein? Das Thema ist so subjektiv wie es nur sein könnte.</p>
<p>Wo der Author nicht behauptet dass er/sie Ansprüche auf Absolutheit stellt, ist also denke ich davon auszugehen, dass er/sie nur &quot;seine Meinung&quot; schildert.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1952181</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1952181</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Mon, 13 Sep 2010 20:20:03 GMT</pubDate></item><item><title><![CDATA[Reply to Suche gute Notation für C++ on Tue, 14 Sep 2010 14:47:22 GMT]]></title><description><![CDATA[<p>Danke für die Hilfe! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
<p>Ich habe das bis jetzt so ähnlich gehalten wie ihr. Ich war nur oft nicht konsequent genug. Ich werde mal versuchen das immer gleichzumachen.</p>
<p>Mfg Mo3bius</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1952523</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1952523</guid><dc:creator><![CDATA[Mo3bius]]></dc:creator><pubDate>Tue, 14 Sep 2010 14:47:22 GMT</pubDate></item></channel></rss>