Earlier quoted context omitted.
I've gotten to a place where I start with a sketch of how I think my code ought to be used and then work backward into the implementation. So far I've gotten a lot of pushback from others on my team. And, what starts as "oh, you should just have to ____" gets really messy as the implementation takes shape.
So test-driven development (where you write the user -- the test -- first, and then the implementation)?
Erlang/OTP 24 highlights
101–103 of 103 posts
Re: Erlang/OTP 24 highlights
#102Earlier quoted context omitted.
So test-driven development (where you write the user -- the test -- first, and then the implementation)?
I think so, yes. But I start "before" the test? I write a use-case. Almost a user story, but in code. Sometimes I add comments inline with the code to try and sort out what abstractions are useful.
So kudos to you for using good practices.
Re: Erlang/OTP 24 highlights
#103Earlier quoted context omitted.
FWIW, I recently pushed a commit to master that made loading of Elixir's test suite 33% faster (from 15s to 10s): https://github.com/elixir-lang/elixir/commit/2eb03e4a314c0e6... Unfortunately, it is a bit too large (and too late) for v1.12, but if loading times have been problematic for you, it would be awesome if you could try master out and let us know in the issues tracker (or in the commit) if you see any improve…
Can we expect it for 1.13?