Why OO sucks...
Comments
Fully agreed! ;)
For a hello world clearly. For bigger apps though it can make sense. Of course everything depends on the goal and the situation :)
and c sucks because you have compile your stuff for a hello world and its so much more lines of code.. and airplanes also suck because i cant park them in backyard.. ; )
make that 'my backyard' not just 'backyard. but hey. they suck anyway.. hehe
It might sound crazy, but I've always liked the old PHP4 object model - just a class and it's methods/properties. If you want something made private, just put _ in front of it. If you want it to be non extensible, just dont extend it, darnit.
I know the actual implementation is lacking, but as far as the coder is concerned, this is all you need really, IMHO.
Anyway, 100k LOC projects should not be written in PHP (or at all, for that matter ;-))
Life Line
Specify whether public transport stops have tactile paving
Determine the heights of kerbs at crossings
Specify whether crosswalks have tactile paving
Survey if places still exist
Survey hairdresser's customers
Specify whether kerbs have tactile paving
Determine the heights of kerbs
Specify what can be recycled in recycling containers
Specify type of recycling amenities
Specify path surfaces
Survey if places still exist
Specify whether there are cycleways
Specify whether roads have lane markings
Specify whether roads have sidewalks
Specify whether pedestrian crossings have islands
Specify whether pedestrian crossings have traffic signals
Specify road surfaces
Specify access to playgrounds
Specify whether places take fees to visit
Survey whether opening hours are signed
Specify whether pedestrian crossings have islands
Specify whether pedestrian crossings have traffic signals
Determine whether any glass or just glass bottles can be recycled here
Specify type of recycling amenities
Determine place names

Shortlink
This article has a short URL available: https://drck.me/wos-37p