Re: [vwnc] Law of demeter

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Law of demeter

davidbuck
Do these qualify as breaking the Law of Demeter?

   collection isEmpty ifTrue: []

   collection size > 2 ifTrue: []

The law of demeter isn't so clear in Smalltalk so it would be harder to find a tool which gave useful results.

David Buck
Simberon Inc.
www.simberon.com

------Original Message------
From: Dr. Johannes Brauer
Sender: [hidden email]
To: VWNC
Subject: [vwnc] Law of demeter
Sent: Sep 21, 2009 1:47 PM

Hi,

I am looking for a tool, that is able to check, wether my students
obey the rules of law of demeter when they program in Smalltalk. Does
anybody know if such a tool exists?

Johannes


Staatlich anerkannte private Fachhochschule
NORDAKADEMIE
Gemeinnützige Aktiengesellschaft
Köllner Chaussee 11
25337 Elmshorn

Vorstand:
Prof. Dr. Georg Plate (Vorsitzender), Dipl.-Ing. Jörg Meier (stellv. Vorstand)

Vorsitzender des Aufsichtsrats:
Dr. h.c. Hans-Heinrich Bruns

Sitz:
Elmshorn, Amtsgericht Elmshorn, HRB 1682


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc



Sent from my BlackBerry device on the Rogers Wireless Network

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc