Re(6): ObjC vs C#
Re(6): ObjC vs C#
- Subject: Re(6): ObjC vs C#
- From: Jens Bauer <email@hidden>
- Date: Wed, 24 Apr 2002 21:00:20 +0200
Hi email@hidden,
On Wed, 24 Apr, 2002, email@hidden <email@hidden> wrote:
>
If HIG was just about positioning Widgets, it would not be as boring as
>
law.
What else do you need in such a cheap application ?
>
>> In 2-3 minutes, you can code nothing but an hello world (and if you're
>
>> typing slowly it's not certain you will be able to).
>
>
>
> Uhm, I did a calculator, which can do addition, subtraction,
>
> multiplication and division, plus ofcourse a neat terminate-button. -All
>
> this was done in less than 3 minutes.
>
>
>
> -Anybody who can do this faster ? :)
>
> (I believe you, if you just say yes).
>
>
It would take more than 2 minutes to:
>
- create the project in PB
>
- Double-click the MainMenu.nib file
(...doesn't take me much more than one second to double-click that .nib)
>
- Add a NSTextField
I add 3 plus 2 "message text" just for fun.
>
- Add a matrix of NSButton for the digits
I don't. Who needs digits ? I did *not* say I wrote a calculator with
memory, history and percentage. ;)
>
- Add some NSButtons
5 to be precise.
>
- Fill the NSButton labels
(*how* slow is your keyboard ?)
>
- Create the Prototype of the Main Controller
>
- Link all the NSButtons and NSTextField
>
- Create the .h and .m files
>
- Fill the empty function with the code
Approx. 7 lines, which can be copied 4 times and modified to +, -, * and /
>
Of course it's possible to do this in 3 minutes if the Main Controller
>
is already coded. But in this case, it's just a graphic game (one cool
>
aspect of IB).
This was done on a 350MHz (yep!) G4 and I have around 4 witnesses because
I demonstrated how easy it was to make such an application from scratch
on Mac OS X with the "free" development kit!
Funny, these guys didn't know anything about programming, but they were
following me while I was doing this, and it appeared to me that they
understood everything.
Love,
Jens
--
Jens Bauer, Faster Software.
-Let's make the World better, shall we ?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.