| |
|
|
Torsten Rümker | so something integrally other, what not acutely is, me but still wurmt.
I stolpere always time again over code-shred or in Gesprächen over The Objektorientierte Programming, unfortunately missing me for yet the understanding.
gives it somewhere a absolute Grundlagenerklärung what objektorientiertes program is?
somehow wants I do not into head How I the To manage have.
would be beautiful if there someone NEN hint had where I me there what anlesen can.
MfG Torsten |
|
|
| Ich lerne, ob ich will oder nicht! Betriebssystem: - Ubuntu 15.x - Windows (diverse) XProfan Version: X2 | 10/09/05 ▲ |
|
|
|
|
| OOP - I attempt time so:
time integrally of it foreseen the OOP The Programmierform the Müslifresser what about me love long Variablennamen-Programmer is *duck* , and times integrally of it foreseen the OOP for absolute Aufblähung urlogischer Herangehensweisen is - so bring OOP still too gewisse advantages mitsich. its but end what's it like - OOP should The Overview within ultrakomplexer Structures to uphold and demanded for of Compiler The urkomischsten verbiegungen through Umwege. These Umwege care letztendlich weder for small Source or for a kleineres Compilations - separate should solely The Possibility afford the Source ergonomischer are.
each OOP-Freak becomes with this small example of course the toe itch - but in the groben ists nothing moreover as following Gegenvergleich:
Prozedural: carspeed&++ OOP: egame.grid.player.vehicle.speed&++
naturally has OOP - what but really not 1:1 what with OOP To do has - through these shape the spelling some advantages. one can the Compiler persuade properties or functions To take - or. on others classes (egame.grid.player.vehicle / egame.grid.opponent.vehicle) To vererben. accordingly can too properties (attributes which end too only on Datentypen yoked are!) kapseln.
but i'm me sure here in the Thread Better get going same of pages the OOP-Freaks scheppern.
salvo, iF. [...] KompilierenMarkierenSeparierenhttp://www.oszhdl.be.schule.de/gymnasium/faecher/informatik/softwareprojekte/warum_oop.htm > " title="https://de.wikipedia.org/wiki/OOP KompilierenMarkierenSeparierenhttp://www.oszhdl.be.schule.de/gymnasium/faecher/informatik/softwareprojekte/warum_oop.htm > " target="_blank">[...] |
|
|
| |
|
|
|
Torsten Rümker | Nagut i'll time one little on the pages rumstöbern and then time my Eindrücke here narrate thanks you in any case for left.
MfG Torsten |
|
|
| Ich lerne, ob ich will oder nicht! Betriebssystem: - Ubuntu 15.x - Windows (diverse) XProfan Version: X2 | 10/09/05 ▲ |
|
|
|
|
| @iF LOL
through Creation of/ one class kannste You determine, which variables or modes (Proc) only inside the class Gültigkeit having. The means, that you private Proc create can, The only inside the class aufrufbar are. just as are private variables only inside the class global, what Konflike avoid helps. The users the class can means to erstellung one Objektes this class only on public Proc and variables this class grab, the remainder remaining in the unzugänglich. I hope these Kurzerklärung true half-way verständlich. Related to the Vererben etc. kannste Yes later over again inquire. It's all right means first with classes around the Kapselung of Proc (modes called) and variables. The Einschränkung of Profan, the it either local or globale variables gives are accordingly aufgehoben, there You Own Gültikeitsräume with classes erstellst. |
|
|
| |
|
|
|
Michael Wodrich | there's well so many Sichtweisen To OOP, as Programmer gives.
One plainer thought with OOP is really, that the data and the functions (then modes called) The on these data grab (lesend/schreibend) in a joint structure stuffed go (The so-called class). After the Motto: together what together heard.
The class can then as Presentation for several Objects serve (almost like a self definierter Datentyp).
The Heredity should then as Another step help, code einzusparen. in the new structure becomes means first the Vorgänger indicated and then go further Variables and functions complement and/or functions extended and/or functions rewritten.
Each Vererbungsstufe power the whole naturally always komplexer and komplexer.
but: OOP can in the doing very helpful his, if one it correctly. anpackt. Glücklicherweise allows XProfan Yes a hybrid from OOP and prozeduraler Programming, otherwise would I there neither go along. The pure OOP-story is me simply To umständlich.
Best wishes Michael Wodrich |
|
|
| Programmieren, das spannendste Detektivspiel der Welt. | 10/10/05 ▲ |
|
|
|
|
| I Have Yes attempts The immediate erkennbaren advantages herauszustellen. whether me the been successful is white I do not. but on jedenfall rather as The Hundebeispiele Help |
|
|
| |
|
|
|
msgroup | straight with large Projekten bid itself OOP on, there it Yes on duration explicit übersichtlicher and rather verwaltbar is. too Wiederverwendung game there a large strain! even if it at the beginning something opaque is, end become You But loves. ;)
In XProfan bid itself there too the XProfan-Writer on, the you The Objekt-Use super relieved. |
|
|
| |
|
|
|
Pedro Santos | Hello on all sides
with others programmiersprachen are many classes already in the Pack thereby gives it for Profan too minimale finished classes codes for most used Objects How: Buttons, etc.. to that download?
greeting
Pedro |
|
|
| |
|
|