This is much less of a dynamic typing thing and more of a operator overloading thing, @snacks, in C++ for example x could have been a Day with a operator=(std::string&&) parsing the day of the week.