Du bist nicht angemeldet.

Stilllegung des Forums
Das Forum wurde am 05.06.2023 nach über 20 Jahren stillgelegt (weitere Informationen und ein kleiner Rückblick).
Registrierungen, Anmeldungen und Postings sind nicht mehr möglich. Öffentliche Inhalte sind weiterhin zugänglich.
Das Team von spieleprogrammierer.de bedankt sich bei der Community für die vielen schönen Jahre.
Wenn du eine deutschsprachige Spieleentwickler-Community suchst, schau doch mal im Discord und auf ZFX vorbei!

Werbeanzeige

ERROR

Alter Hase

  • »ERROR« ist der Autor dieses Themas

Beiträge: 417

Wohnort: Paderborn

Beruf: Informatik Student

  • Private Nachricht senden

1

27.11.2014, 23:40

Generelles Programmierung Buch

Hey Leute,

für die Uni Bahnfahrten suche ich nach einen Buch. Als Programmierer, will ich natürlich ein Buch, welches über Programmierung ist. Allerdings möchte ich gerne ein Buch lesen, welches NICHT speziell für eine Sprache ist, weil ich doch mittlerweile einige Sprachen kenne und mich lieber generell fortbilden will.

Mir ist auf der Suche (auch hier im Forum per SuFu :D) das Buch "Design Patterns. Elements of Reusable Object-Oriented Software." aufgefallen. Sowas in die Richtung ist glaube ich genau das richtige. Allerdings ist, zumindest laut Amazon, die letzte Ausgabe von 1994 und deswegen will ich hier mal lieber fragen, ob sich dieses Buch denn noch lohnt und noch aktuell ist. Und/Oder kann jemand noch ein anderes generelles Buch zur Programmierung empfehlen? Es muss auch nicht ein Buch sein, welches extra für Spieleprogrammierung ist, generelle finde ich da schon besser.

Bevor das kommt: Ja, ich habe mir verschiedene Buchempfehlungen angesehen, meine Frage ist ja auch, ob dieses Buch noch aktuell/lohnenswert ist?

dot

Supermoderator

Beiträge: 9 757

Wohnort: Graz

  • Private Nachricht senden

2

27.11.2014, 23:55

Mir ist auf der Suche (auch hier im Forum per SuFu :D) das Buch "Design Patterns. Elements of Reusable Object-Oriented Software." aufgefallen. Sowas in die Richtung ist glaube ich genau das richtige. Allerdings ist, zumindest laut Amazon, die letzte Ausgabe von 1994 und deswegen will ich hier mal lieber fragen, ob sich dieses Buch denn noch lohnt und noch aktuell ist.

Definitiv!

drakon

Supermoderator

Beiträge: 6 513

Wohnort: Schweiz

Beruf: Entrepreneur

  • Private Nachricht senden

3

28.11.2014, 00:01

Das Buch ist sicher nicht schlecht. Finde den Kommentar hier auf Amazon recht treffend:

Zitat von »http://www.amazon.com/Design-Patterns-Object-Oriented-Professional-Computing/dp/0201634988«

... well, it's over. "Patterns" have not revolutionized the world. Nor does this book need to be "studied" for deep insights.

What it seems patterns are actually good for is giving common names to popular solutions to problems, to make them easier to call to mind, and easier to discuss with others. Even this much is overrated. Before the advent of patterns, you could have said "callbacks" and people would have understood. Now you say "the Observer pattern".

_Design Patterns_ is none the less valuable, because it is one of those few books that EVERYONE is expected to have read. This is helpful in practice, as you can expect everyone to be familiar with its vocabulary. Few books truly fall into this "required reading" category. The only other that comes to mind is the MIT algorithms text. Many tech pundits claim that every next book is "required reading", and the claim becomes tiring after a while, but this is one of the few that really is.

I would not necessarily purchase it, though. The "pattern" schematic is verbose, and requires pages upon pages to describe something that, once you have seen it in practice once or twice, you will recognize immediately. Omitting the appendixes, the book is barely 350 pages, and presents only 23 patterns. Only a handful of the patterns are truly famous: Singleton, Observer, Template Method ... perhaps a few more. A number of them are poorly presented. Chain of Responsibility, for instance, is just one of many ways to define an event framework and does not belong in a book that doesn't present the alternatives. Mediator is another; there must be dozens of ways to create a Mediator, which most people would call an "event registry" or something else, rather than a Mediator. "Mediator" itself is little more than a name, and won't help you in design.

Some patterns are boring, since modern languages tend to provide them, and we've heard about them many times already: Iterator, Proxy, Memento (serialization). Others, like Command, are geared towards GUIs, and provide little value to other types of applications. Then there are the State and Strategy patterns, which are two sides of the same coin, and needn't be given two different names.

And so on. Definitely do not "study" this book if it seems you "just don't get it". Chances are the book is wrong. It is worth a read through, and a second read through if the terminology doesn't stick the first time, but stop at that. My gut feeling is that this book is most appropriate for someone working on his or her first large project. After that, once the terminology sinks in, the book has little else to offer. And if taken dogmatically, or considered "inspired" or infallible, the book is a hindrance. Finally, overuse of patterns can result in a "kitchen sink" design, instead of a simple one that takes a few patterns, that may or may not be ones from this book, and implements them cleanly. Take the book for what it's worth, but remain skeptical.


Habe zwar nicht das ganze Buch durchgelesen, aber bin mit den meisten Patterns gut vertraut (Studium, sonstige Literatur, Wikipedia, selbst drauf gekommen, iwo gesehen, etc.). Ein generelles Verständnis für diese paar gängige Patterns ist für einen Entwickler unerlässlich. Geht aber auch gut mit Wikipedia und Google. Richtig verstehen tut man sie aber am Ende auch nur wenn man sie mal anwendet und/oder in Probleme gelaufen ist, welche man mit ihnen nicht hat.

NachoMan

Community-Fossil

Beiträge: 3 885

Wohnort: Berlin

Beruf: (Nachhilfe)Lehrer (Mathematik, C++, Java, C#)

  • Private Nachricht senden

4

28.11.2014, 01:03

Ich fand dieses Buch über OOP Klasse: http://openbook.galileo-press.de/oop/
"Der erste Trunk aus dem Becher der Erkenntnis macht einem zum Atheist, doch auf dem Grund des Bechers wartet Gott." - Werner Heisenberg
Biete Privatunterricht in Berlin und Online.
Kommt jemand mit Nach oMan?

5

28.11.2014, 07:39

Ich bin begeistert von: [amazon]3897215675[/amazon]

Werbeanzeige