Stupid for two specific reasons:
1) Stop requiring shit at the federal level. Education decisions should be made at the local and state level. You can require whatever you want in Chicago, but leave the rest of us alone. The federal government has a hard enough time doing the job that it is mandated to do in the Constitution.
2) Not everyone needs to know how to code. It's a waste of time. Not everyone needs to take shop class. Not everyone needs to take home economics.