HackerTrans
TopNewTrendsCommentsPastAskShowJobs

adamkl

no profile record

comments

adamkl
·il y a 2 ans·discuss
The Mitsubishi Outlander PHEV is very good (and is available without a wait). It differs from some of the other PHEVs in that it is really an EV (with 2 electric motors) and uses the gas engine primarily as a generator. This means it drives like an EV (no transmission, no power bands, just smooth acceleration at all times). A downside is that when running on gas, it's not as efficient because of the losses of going from mechanical energy to electrical energy back to mechanical, but I regularly get 70-80km on a charge, so the engine only kicks in on long weekend trips.
adamkl
·il y a 3 ans·discuss
Related: https://www.destroyallsoftware.com/talks/boundaries

Also related: https://www.manning.com/books/grokking-simplicity
adamkl
·il y a 6 ans·discuss
I think just because someone is able to do something similar in another language doesn’t mean that the power of a fully integrated REPL is overstated.

Most developers are using languages where this sort of thing isn’t possible, and for them, experiencing a REPL driven development flow can be an eye opening experience (even if it’s just to add it to their tool box along side more common approaches like attaching debuggers and using TDD to shorten the development feedback loop).

I don’t know enough about Elixir to understand how your approach is the same/different than using something like a REPL with Clojure, but I did come across a pretty interesting discussion on the topic:

https://elixirforum.com/t/what-do-you-all-think-of-clojures-...

TL;DR - you can accomplish something similar with Elixir, but the underlying technical details are different.
adamkl
·il y a 6 ans·discuss
For anyone who would like to see what REPL-driven programming looks like in practice, take a look at this video here:

https://vimeo.com/230220635

The author uses the Clojure REPL to walk through the process of developing some non-trivial functionality (calling an API and parsing the results).

It’s a good intro to what it looks like to interactively build a program while it’s running.

Personally, I’ve found that having such a tight feedback loop makes development a lot more enjoyable.
adamkl
·il y a 6 ans·discuss
Not sure where the hostility is coming from. I didn’t read anything disparaging about Haskell in hencq’s comment. He/she just made a factual statement about Clojure’s approach to data types being analogous to Unix/strings when it comes to composition.

It comes with the same drawbacks (the lack of static typing is similar to strings with Unix; you have to be aware of the details of the data coming in and out because there is no type system to save you - unlike Haskell), but the benefit is easier composition.