I've always thought that academic writing is designed to impress rather than educate. I haven't read much academic code, but it seems the trait has carried over.
I really can't stand code that is designed to make the programmer look smart. I stopped messing about with CodeWars for this reason. All this dick-measuring about how few instructions you can use to implement a problem eyeroll. It misses the important thing: when some poor sap comes back to maintain the code in 2 years' time, can they?