You can wait till the 14 inch MacBook Pro, or just get the Air on sale now since the next one is coming next year.
The M1 MacBook Air seems pretty good for me and the Unix based command line might come handy if you end up doing linux courses.
MacRumors buyers guide is handy anyway: https://buyersguide.macrumors.com/#mac