Path: news.daimi.aau.dk!poe From: muzaffer@smixedsignal.com Newsgroups: comp.lang.beta Subject: Re: Rapid Prototyping + statically-typed OOPLs? Date: 19 Jul 1995 09:02:04 GMT Organization: DAIMI, Computer Science Dept. at Aarhus University Lines: 55 Approved: mailtonews@daimi.aau.dk Distribution: world Message-ID: <3uihmc$o9j@belfort.daimi.aau.dk> NNTP-Posting-Host: daimi.daimi.aau.dk > >In Article<3ue9o1$q6t@vixen.cso.uiuc.edu>, > write: >> ... >> >> "Terseness of the language"???? Programs in C++ are three >> times the size of the same programs in Smalltalk. ... > >Three times? I think that is too conservative. Even the C types >thought so. I went to a seminar on Objective-C in its early days >when Step Stone was PPI and Brad Cox and Tom Love were the >executive officers of PPI. Their claim at that time was that the >UNIX source was more than 10 times the size of a comparable >Smalltalk source...remember that once upon a time Smalltalk was >considered its own operating system...not just an application >development environment. But then why don't you count the size of the Smalltalk machine as part of your program ? > >No include files just for starters...and if it is a windows >program...well that means several pages of program just to get >'hello world" up. > >Here is Smalltalk "hello world", cross-platform across all VW 2.0 >environments: > > ScheduledWindow new > component: 'hello world' asComposedText; > open And here is the windows version: #include int WinMain() { MessageBox(0, "Hello World", 0, MB_OK); return 0; } Hello World with MFC is not too much longer either with a lot more capabilities. It is interesting that you don't include the class libraries which come with the language but you include them in C. It doesn't matter how you package the code (with the language or without), it is still there and someone has developed it. -------------------------------------------- Muzaffer Kal muzaffer@smixedsignal.com