Blog Archives

Why it pays to read more than just the first compiler message

Error messages are frustrating. Especially when you can’t figure out why you are getting them.

Take this bit of code:

It produces a ‘TestProject.ComparingCollections.SimpleDataAccessLayer_Tests.MountainComparer’ does not implement inherited abstract member ‘System.Collections.Generic.Comparer<ActualProject.ComparingCollections.Mountain>.Compare(ActualProject.ComparingCollections.Mountain, ActualProject.ComparingCollections.Mountain)’ error for the MountainComparer class.

Wah?

What do you mean?

Read more ›

Posted in Software Development
Tags: , , , , , ,

Show Buttons
Hide Buttons