Depend(a)nt --> Depend(e)nt

Depend(a)nt --> Depend(e)nt

Old forum URL: forums.lhotka.net/forums/t/1613.aspx


Smirk posted on Friday, October 27, 2006

Please don't throw me out, I know this is a niggle, but better me than the Apress Editor...    Smile [:)]

Everywhere that I can find, depen(a)nt is an alternate spelling for depend(e)nt.  So for the new 2.1 ValidationRules.AddDependantProperty("x", "y") it probably ought to be re-spelled AddDependentProperty...

In the book, I couldn't find prior usage of dependent, but on page 413 (c# 2005 book):  "Sometimes an object will have properties that are interdependent, or at least have interdependent validation logic."  So if for no other reason, this should be re-spelled for consistency with the rest of the book.

Not knowing if I should comment on this at all, I showed this to my wife, an English Literature major, and her respose was, "That's misspelled!"  - So here I am posting a niggle... sorry.

I hope this is helpful - and please disregard any spelling errors in my post.  Big Smile [:D]

Mark Haley

 

Bayu replied on Friday, October 27, 2006

LOL! Big Smile [:D]

We should make the book open-source, don't you think? Wink [;)]







ajj3085 replied on Friday, October 27, 2006

Well..

It would be nice to fix, but it could be a breaking change (unless another override is added and the misspelt method is obsoleted with a warning).

Anyway, mainly I posted because its nice to see another New Englander on the forum.. not too many of us here.

Andy

Smirk replied on Friday, October 27, 2006

Yep, I do live in New England, although I confess to being a transplant from the West Coast...

Anyway, I did consider that this would be a breaking change before I posted, but 2.1 hasn't been out a month yet and maybe this feature hasn't been used yet by too many people? 

However, if I'm right and the editor of the next book, (assuming another book were to come out) wants to change it then, it is certain to be more of an issue at that time then it is now.

Just a thought...

 

ajj3085 replied on Friday, October 27, 2006

Well, I'm a transplant from Philly..

Some people started using 2.1 as soon as Rocky posted the first beta.  I think I started using one of the later beta versions, because i wanted to help test.

If Rocky wanted, adding the method with the correct name and marking the wrongly spelt one with Obsolete would give people an option of moving over slowly.   

I wonder though.. i assume a technical editor reviews code.. maybe they are not as much of sticklers for spelling as general editors?

Technically this method didn't exist when the book was published though either.. Wink [;)]

We'll have to see how its spelt in the ebook for 2.1

Copyright (c) Marimer LLC