View Single Post
  #8 (permalink)  
Old July 26th, 2007, 04:44 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

I think it's all a definition issue here. I think we all agree on the intentions and the best practices, but definitions make it hard to agree with each other....

I have to go with Alexei in that *can't* means that it won't work. When things can't, they will crash, you get compile errors or will otherwise blow up.

*Shouldn't* on the other hand will work, but is not recommended and will get you into trouble somehow, somewhere, later down the road.

So, I think one should say "you shouldn't use the <html> tags in a user control" instead of "you can't use the <html> tags in a user control" if your aim is to create reusable components.

Cheers,

Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.