My kid is entering primary school next year and was wondering if a MacBook Air would suffice for school work as well as some coding classes. I’m personally more versed in Windows.

Just wondering from parents here that assignments etc are ok with MacOS and from coders here that a MacBook Air is sufficient for coding on a learning basis. Thanks in advance.