Day 6: Chapter 16 Real-World Data, Chapter 35: Natural Language Understanding, Chapter 44: Importing and Exporting
Day 7: Chapter 5: Operations on Lists, Chapter 13: Arrays, or Lists of Lists, Chapter 30: Rearranging Lists, Chapter 31: Parts of Lists
Day 8: Chapter 34: Associations, Chapter 45: Datasets
Day 9: Chapter 27: Applying Functions Repeatedly, Chapter 29: More about Pure Functions, Chapter 46: Writing Good Code, Chapter 47: Debugging Your Code
The question asks for ‘beginning with the letter “w”’. You need to anchor the pattern to the start of the string or it will match “w” anywhere in the name.
and found that for 2 of your results their Common Names do not start with small letter “w”. So, for
“WaterArrivals” the Common Name is “arrivals by sea”
and for
“Workforce” the Common Name is “employment”
It looks so that the code must be modified because, according to formulation, property names must begin with small letter “w”. At least, such observation did @Abrita Chakravarty
Small or capital “w”. But good catch - interesting that “WaterArrivals” and “Workforce” have different common names. For this challenge all canonical names beginning with “w” should be accepted.
@Valeriu Ungureanu In my experience when working with Entities it is advisable to look for both CanonicalName and CommonName. CanonicalName is the actual field name in the database so in many databases they are kept as short and cryptic to avoid naming conflicts. As an example, if you create your own SQL database and map it onto the EntityFramework using RelationalDatabase, you will see that database field names are mapped to CanonicalName. If you restrict your searching to CanonicalName only you will miss out on many relevant properties.
Regarding the question, it didn’t specify what name it was referring to (that’s why I did an exhaustive search using the Or in my code) but I agree one can become pedantic and take “w” as a literal for the lower case. But I don’t think that was the intention of the question.