If you're a programmer who wants to write code, you have to use C++
(Shipping in UE4 means release mode with full optimization enabled, most logging & profiling stripped out, etc)
https://docs.unrealengine.com/en-US/PythonAPI/introduction.h...
It's great for complex asset pipelines and quick one-off editor scripts, at least in my experience.
The only thing that felt a bit wonky to me was attempting to use bitflag enums.