Hard to say. I work with both Mac and Windows. Macs have a much longer lifespan. My Mac from 2009 is still running today thanks to an SSD upgrade. The quality is very high, but I prefer to work with the Windows OS. Unlike the Air, the Asus has an anti-reflective screen, which I like much better. The resolution is also better. Battery life should be about the same. If you work a lot with the touchpad, Mac is and always has been better. Personally, I would prefer the Asus for studying, as most universities and colleges work with Windows applications. I had a lot more problems with Macs in the past. In addition, Windows devices are always 200 to 300 CHF cheaper.
Since the device has an i5 processor, it also has a fan. Only the M processors are cooled passively (i.e. without a fan), but then they also have somewhat less power. Here is the model with the M3 processor: ASUS UX330CA-FC020T (13.30", Full HD, Intel Core M3-7Y30, 8GB, SSD)