The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Intellisense and Sparse Libraries

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Intellisense and Sparse Libraries Posted: Jun 6, 2005 6:26 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Intellisense and Sparse Libraries
Feed Title: David Buck - Blog
Feed URL: http://www.cincomsmalltalk.com/rssBlog/buck-rss.xml
Feed Description: Smalltalk can do that
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From David Buck - Blog

Advertisement

I like using Intellisense when I program C#. Even though Smalltalk has AutoComplete, it doesn't compare in accuracy to Visual Studio's Intellisense.

Suppose, though, that Smalltalk could know (maybe by type inference or by declarations) the types of the variables and it implemented a kind of Intellisense similar to that in Visual Studio. What you'd find is that the list of available methods is about 10 times larger than those in C#. This highlights the fact that the C# libraries are really quite sparse.

The following table shows the number of methods (or properties) understood by various classes (both defined in that class and inherited from superclasses). These are the methods that would show up in Intellisense.

ClassSmalltalkC#Java
Array3642111
OrderedCollection / ArrayList3913135
Dictionary / Hashtable3522225
Point366820

Clearly, the Smalltalk classes are much richer than the corresponding C# or Java classes. This means that Intellisense would be much less useful because so many choices would be shown in the list. The Smalltalk way of solving this problem is just to open a browser on the class. The available methods should all be nicely categorized and visible with complete source code.

I don't know if Microsoft or Sun are planning to enhance the C# and Java libraries, but as is, they offer much less functionality than than Smalltalk's library. I run into this on a daily basis. It's annoying to not have simple methods like last in collections. This means that the programmers must implement these utilities themselves and clutter up their code with duplicated noise. Worse still, the programmers can't add these utilities themselves. It really cripples the developers and complicates the code.

Read: Intellisense and Sparse Libraries

Topic: Abstractions don't have to leak in floods Previous Topic   Next Topic Topic: MS and late software

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use