Write unit tests, document code, optimize code, explain code. I've tried Python functions and React code. It even converted a class based React component to a functional style component!
Sorry, I really meant refactor here. I did ask it to optimize code, and it came with a suggestion of trimming down my function into a smaller chunk and creating a new function. So it actually refactored it TBH, but I am going to try how I can check if it can optimize code too.
While programming in Elixir, iex. I spend most of my time in the REPL, testing my functions, learning new features, and of course the recompile command!
I'm using a ThinkPad E480, with 2 monitors attached. Lubuntu 19.10. It's my main dev machine running Postgres, VirtualBox, Elixir, Node, etc. Battery is still amazing after 4 months.
I've always wanted to buy a MacBook Pro, mostly for music production, but the ThinkPad is a fine beast by itself. For music, I use Studio One 4 on Win 10.
I'm currently reading Statistics for Dummies, and these kind of techniques used i.e. wrong scale, incorrect starting point, etc is explained very well. Highly recommended.