What did you learn whilst programming today? Programming language development (including Hacklang!), human factors, and a healthy dose of Emacs.
Apr 8, 2019 • 12 tweets • 3 min read
I'm a lisper who has spend a little over six months getting up to speed in OCaml, and it's been really interesting. It's been unlike anything I've used before. Thread.
OCaml's syntax is pretty exotic, even if you've done some Haskell.
[1,2] is legal but it's not a list of numbers. Precedence (esp , and ;) is surprising [let y = 2 in y; 3]. Nesting match statements (common) can end up with a type error on bad usage.
Mar 4, 2018 • 5 tweets • 1 min read
If you're new to #python programming, welcome aboard! I've spotted a few techniques that newcomers miss out on and thus learn more slowly.
First, and most important: install and use ipython. You will learn APIs much faster with tab completion and the ability to write foo? to see documentation for foo.
The default python interpreter will slow you down.