The closest I can think of is Objective-C with Cocoa. I'm not fluent in the language nor the framework, but a basic program looks like:
int main() { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; int r = UIApplicationMain( 0, 0, nil, nil ); [pool release]; return r; } Well... UIApplicationMain function never returns, so why the two statements after it are there, who knows? lol! And that's as functional as it gets. Well, you can do the rest functionally, but you can also do the rest in an OOP manner. When you run this, it will search for an app delegate class and make an app delegate object ... and a window object (which is loaded from a resource file created using Interface Builder). In the "constructor", you create the objects you need for the program to run and you initialize everything. Almost pure OOP can be achieved! ... I'm not a fan of pure OOP though. |
| Response Title | Author and Date |
| *By functional, do you mean procedural? | on Jan 8 |
| * Haha, yea. I did mean procedural. ;) | on Jan 10 |
| Take a look at this... | cantide5ga on Jan 8 |
| Re: The guy's post | on Jan 11 |
| Well, I had that job interview.... | cantide5ga on Jan 12 |
| Just wondering | on Jan 14 |
| I have no degree | on Jan 18 |
| Get a job! | A5c11Char5et on Feb 26 |