Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stefanchrobot
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
stefanchrobot
5y ago
Why not both? I want the language to provide an iterable/enumerable interface with the usual generic workhorses (map, reduce, etc.) and allow me to implement that interface as a free function for any type. If I'm authoring a type,
2.
▲
by
stefanchrobot
5y ago
Very satisfied with Elixir! I think it just fits my way of thinking. I love the terse, but explicit code, the VM, OTP, pattern matching, working with immutable data, integrated tooling, documentation support. The community is great, too. Th
3.
▲
by
stefanchrobot
5y ago
Oh, wow. The language was complex already and this makes me avoid C++ unless it's constrained to a narrow subset (something like Google C++ Style Guide). No wonder languages like Go and Rust gain so much traction.
4.
▲
by
stefanchrobot
6y ago
Erlang's VM comes to mind. It has great APIs for inspecting a running system and quite a few options for consuming that data: build-in observer [0], CLI version [1], web live dashboard [3] and more. [0] https://erlang.org&#x
5.
▲
by
stefanchrobot
6y ago
...or pattern matching in case of dynamically-typed languages: case some_operation() do {:ok, result} -> # do something with result {:error, error} -> # handle the error end
6.
▲
by
stefanchrobot
6y ago
Similar tool that I currently use: https://github.com/watchexec/watchexec
7.
▲
by
stefanchrobot
6y ago
I started to write the engine for my favourite game in my favourite programming language and the experience was addictive and enjoyable beyond compare. Sadly I just couldn't justify to myself the amount of hours that I would need to sp
8.
▲
by
stefanchrobot
6y ago
I'm categorical only in terms of my personal preferences. Threading model is just hard, so in general, I'd suggest looking for alternatives. But that's not a universal advice as there are cases where it does not apply or the
9.
▲
by
stefanchrobot
6y ago
A much better suggestion would be to look for a language/VM that supports a better concurrency primitives, like Elixir/Erlang. Obviously you can't run that everywhere, so sometimes you'd have to deal with threads. But af
10.
▲
by
stefanchrobot
6y ago
Quite surprising take on the languages. > When to use Python or Ruby > Python and Ruby seem to me to be pretty similar in that they’re scripting languages and dynamically typed and seemed like the greatest thing in the 00’s. You use t
11.
▲
by
stefanchrobot
6y ago
Well, you can't make everyone happy. Personally, I've started with the C family of languages (C, C++, C#, bit of Java), but after going through Python, Ruby and Elixir I never want to go back to curly braces. The other thing that
12.
▲
by
stefanchrobot
7y ago
Last year I did "Advent of Elixir" at my company with the puzzles from AoC. It was slow paced but I got some people excited about Elixir! I also followed José Valim on Twitch to see how he tackled those. If you want to stay compet
13.
▲
by
stefanchrobot
7y ago
Somebody in our team put this on production. I guess this solution has some merits if you need something quick, but in the long run it turned out to be painful. It's basically SQL over REST. Additionally, your DB schema becomes your AP
14.
▲
by
stefanchrobot
9y ago
I'd love to see this implemented, especially that I already enjoy this feature a lot in Elixir/Erlang/BEAM.
15.
▲
by
stefanchrobot
9y ago
I'd add one thing: avoid multiple classes on a single element; use mixins to avoid duplication. I tend to do so even for classes that have some toggle state, i.e. .some-class-active.
16.
▲
by
stefanchrobot
9y ago
Thanks! Uninstalled straight away. I think the TOS issue is more important than the security one.
17.
▲
by
stefanchrobot
9y ago
The job offers are not that often, so I guess you've beat everybody, myself included, with production experience.
18.
▲
by
stefanchrobot
9y ago
Congrats on the new release! While this is all great news, it's still quite hard to get a full-time Elixir job outside of US. Kind of like staring at the candy shop display while it's closed. I'm wondering how to make this ha