... hab' ich mitzuteilen - L's blog

... with a touch of python - Didaktik der Informatik, Informatische Bildung, ...
Wed, 24 Oct 2007
Tue, 23 Oct 2007
I Too Dislike Object Oriented Programming [ 23:31 Uhr ] [ 492 Worte ]

Wie wir immer wieder beobachten können ...

PerlMonks has a healthy rant against OOP. It carries some valid points, like the conceptual overhead involved in OO-design. I think this is at the center of all other rants, and the root cause is the approach of making everything into an object. Or for OOP-sake making everything part of an object.

Should everything be an object

Does OOP mean everything should be an object? Maybe there is no absolute answer to this question because there is no one sitting up there governing it. But I think if we try to model everything into objects, we are turning the problem of procedural programming on its head. I remember the quote from the patterns book
Objects that represent a process or algorithm do not occur in nature.
I believe OOP seems natural a lot of times because answers to most of the design questions like what and who turned out to be objects. And these objects carry a lot of implied data and unsaid preferences with them. OOP let us model that as close as possible to the real world.
However, one question that can bloat your design is how. Trying to forcibly model this into an object can result in a host of new objects which are trying to make this work. And at this time OOP ceases to be natural.

Scope

One of the aims of using objects is to control how you build them and this means you have to be able to decompose them and know them from the inside. And there are also objects which you just use, and do not need to build yourself. Sometimes an integer is an integer is an integer, nothing more, nothing less. It can be waste of an effort and time, and possibly even harmful if we always try to model it into an object.
A lot of frameworks do this, perhaps for programming convenience, but it does impose a lot of conceptual overhead. Scope is something that can guide you, unfortunately it is still unknown enough to cause most of the failures.

There are benefits

Apart from this, I think OOP is extremely useful, even without the syntax and the keywords.
It is perhaps using the same approach for all problems that causes the problems. OOP concepts and principles do help us decompose the problem, automate better and build flexible software. But when it starts serving itself more than the software, I start disliking it too.

[ Datum/Zeit: ] Tue, 23 Oct 2007 05:21:51 +0000

[ Quelle: ]
Abhijit Nadgouda
[ rss10 Feed ] http://feeds.feedburner.com/ifacethoughts/entries [ Verweis - Nachrichtenkanal ]

[ xhtml ] http://feeds.feedburner.com/~r/Ifacethoughts/entries/~3/173660290/ [ Verweis - Eintrag ]

Mon, 22 Oct 2007
Sun, 21 Oct 2007
Sat, 20 Oct 2007
Nokia N810 kommt ... [ 19:52 Uhr ] [ 169 Worte ]

Jörg macht uns darauf aufmerksam, dass das N810 bald kommt. Hoffentlich läuft auch maemoLaTeX weiter ;-)

Nokias Internet Tablet nun mit Tastatur: Mit dem N810 hat Nokia die dritte Generation seines »Internet Tablet« vorgestellt, das mit Nokias Linux-Distribution WikipediaLogo  Maemo arbeitet. Das neue Modell kommt mit einem 4,13 Zoll großen Touchscreen mit einer Auflösung von 800 x 480 Pixeln daher und ist als »Slider« ausgeführt, verfügt also über eine ausschiebbare Tastatur.
Nokia N810


Das rund 266 Gramm leichte Teil soll ab November 2007 für rund 480 US-$ zu haben sein. Wer also noch nicht weiß, was sie mir zu Weihnachten schenken soll... [Golem.de]
[ rss10 Feed ] http://www.schockwellenreiter.de/xml/rss.xml [ Verweis - Nachrichtenkanal ]

[ xhtml ] http://www.schockwellenreiter.de/2007/10/18.html#boyzNeedToyzNokiaN810 [ Verweis - Eintrag ]

Fri, 19 Oct 2007
Thu, 18 Oct 2007
Ped 2.05 - kleinere Änderungen [ 21:41 Uhr ] [ 162 Worte ]

Ped 2.05 - neue Fassung der beliebten Entwicklungsumgebung für Mobile Programming auf S60 3rd Edition

Ped 2.05 veröffentlicht ;-)

Nachdem meine Schülerinnen und Schüler (ja, es sind mehr Frauen als Männer in meinem Informatikkurs) nun Python 1.4 und Ped 2 final installiert haben, kommen passend sowohl Python, aber auch Ped in einem frischen Version an die Öffentlichkeit.

Nun: wir werden erst einmal mit den installierten Versionen arbeiten und nach einiger Zeit auf die aktuellen Fassungen wechseln, denke ich.

Um Ped 2 nutzen zu können, muss sie von Ped 2.05 3rd Edtion heruntergeladen werden. Sie funktioniert, wenn Python auf dem Mobiltelefon installiert ist.

Auf Webseite mit Hinweisen finden sich in der ersten Reihe Bildschirmfotos, die ich gemacht habe. Wenn Sie alle sehen wollen, finden Sie diese unter: Bilder zu Ped 2 auf dem Mobiltelefon

Ped 2.05 enthält auch einen Verweis auf den Quellcode.

Wed, 17 Oct 2007
das Buch *Mobile Python* ist veröffentlicht [ 23:43 Uhr ] [ 131 Worte ]

Das erste Buch zu Python auf S60 ist auf dem Markt

Mobile Python: Rapid Prototyping of Applications on the Mobile Platform

von Jürgen Scheible and Ville Tuulos Publisher: Wiley, ISBN: 978-0-470-51505-1 Paperback, 336 pages 1st edition, October 2007

ist veröffentlicht. Auf der Webseite finden sich weitere Hinweise (auf Englisch). Unter anderem sind dort neben dem Inhaltsverzeichnis alle Programme im Quellcode zu finden. Wenn Sie diese komplett runterladen wollen, sollten Sie wget folgendermassen parametrisieren:

wget -nd -Apy -rl1 http://www.mobilenin.com/mobilepythonbook/examples.html

Ich wünsche dem Buch eine weite Verbreitung, ob ich es in meinem Informatikkurs in 11 einsetzen werde, vermag ich erst zu sagen, wenn ich es in meinen Händen halte - bestellt ist es ;-)

Tue, 16 Oct 2007

<<  0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [21] 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234  >>


Inhalte unterliegen dem Copyright von L. Humbert.
Creative Commons License
Die Inhalte stehen unter einer Creative Commons License.