English | Magyar
JS ki | CSS ki | Ékezetek ki | HiContrast
Lapozó:  (0 - 1424) 
<== | ==>
Ugrás a végére | Összes megjelenítése | Utolsó oldal
OpenOpera patches | Opera-SSL patches | Opera 12.15 source (Git repository) | Opera 12.15 source (Torrent) | Opera internal pages | Otter Browser Linux x64 - Qt5.15.2/QtWebKit5.602.1 (2024.04.27. 20:05)
OS for MC680x0 | OS for PPC | OS for Sparc64 | besztofbégéaefcé | CSÉNDZSLOG | WebToolz | DDG Shit Filter | Google Shit Filter | Progz | Fast CSS Box | Browser | OS | Agent | Statisztika | BBCode
Monospace font-family: Courier New | Browser default monospace
Email értesítő / Email notification ===> 
Keresés
Σ: 1 post

kemi  (statz) Főfasz
#2, Főfasz (2970)
1246 | #21a3 | ^ | Idézet | Fri, 16 Nov 2012 08:16:21 +01
78.131.*.* winnyogsz Google Chrome Hungary *.pool.hdsnet.hu
@TCH:
new_button('bazmeg');
set_button_left('bazmeg', 300);
set_button_top('bazmeg', 400);
set_button_width('bazmeg', 180);
set_button_height('bazmeg', 90);
set_button_caption('bazmeg', 'kabbe');
set_button_onclick('bazmeg', &klikk());
Teljesen ugyanaz. Megint oda jutottunk, hogy OOP megközelítés nem OOP eszközökkel. Na és mi van akkor, ha nem widgetet, hanem valami saját adatot szeretnél ellenőrzötten módosíthatóvá tenni. Kódszinten létezik, és semmi nem akadályoz meg senkit, hogy közvetlenül hozzáférjen, és ne interfészfüggvényt hívjon.
@http://en.wikipedia.org/wiki/Object_(computer_science):
Objects in "object-oriented programming" basically are data structures combined with the associated processing routines.
Ebben a megfogalmazásban valami ilyesmi is objektum:
int x;
void set_x(int val) {
    x = val << 8;
}

int get_x() {
    return x >> 8;
}
Csak ilyenkor senki nem akadályozza meg a programozót, aki úgy gondolja gyorsabb hozzáférni az inthez, mint interfészfüggvényt hívni. Így aztán ha változtatni kell át kell nézni az egész kódot.

De látom te megrögzötten anti OOP-s vagy.


English | Magyar
JS ki | CSS ki | Ékezetek ki | HiContrast
Lapozó:  (0 - 1424) 
<== | ==>
Ugrás a végére | Összes megjelenítése | Utolsó oldal
OpenOpera patches | Opera-SSL patches | Opera 12.15 source (Git repository) | Opera 12.15 source (Torrent) | Opera internal pages | Otter Browser Linux x64 - Qt5.15.2/QtWebKit5.602.1 (2024.04.27. 20:05)
OS for MC680x0 | OS for PPC | OS for Sparc64 | besztofbégéaefcé | CSÉNDZSLOG | WebToolz | DDG Shit Filter | Google Shit Filter | Progz | Fast CSS Box | Browser | OS | Agent | Statisztika | BBCode
Monospace font-family: Courier New | Browser default monospace
Email értesítő / Email notification ===> 
Keresés

Név: (max 255 byte)

Email: (max 255 byte) Nem kötelező!

Üzenet: (max 65536 kar.) 65536-0=65536




crap_vkn v4.34.0 by TCH
Thx to saxus for the escaped string decoder function (PHP), the realIP function (PHP) & the SQL handle layer (PHP), to thookerov for the int_divide function (PHP), to Jeff Anderson for the getSelText function (JS), to Alex King for the insertAtCursor function (JS), Flood3r for the new CSS styles, Pety for the spamprotection idea and some design and comfort ideas, MaxMind for the IP2Country database, famfamfam for the flags of countries and an unknown PHP programmer for the removeAccents function.



Kecskebaszók ide!