Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fgimian
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
fgimian
8y ago
Precisely, at work we use Python and C++, but I wanted to learn a new language in my own time for fun :) I also tried to highlight its weaknesses in the Caveats section. The language is young and often has breaking changes which would not
2.
▲
by
fgimian
8y ago
Totally fair point. Minimalism can be extremely liberating and in fact, it's something I apply to many other areas of my life. But when it came to Go, I personally found myself battling the language as a result, rather than being more
3.
▲
by
fgimian
8y ago
Thanks a lot for the encouragement, it means a lot :) It is tough to read criticism but it's always a good opportunity to learn. The comment about mypy for example was correct and I'm pretty sure I'll be trying it out on my
4.
▲
by
fgimian
8y ago
For what it's worth, I have zero association with Crystal, but just happen feel that it appeals to me the most. You can see this on my GitHub too, all projects up until a week ago were Python. And I chose Fibonacci as a fun little tes
5.
▲
by
fgimian
8y ago
Yep, many of my colleagues at work use Elixir in fact and they say the same. Ultimately, I started with C++ ... a long time ago (2001) ... and from day one I learned coding using an object-oriented approach. A lot of this comes down to the
6.
▲
by
fgimian
8y ago
You're right, this was a mistake on my part. I'll correct this in the post. I have used mypy further since the post was written and it is indeed quite helpful, particularly in --strict mode.
7.
▲
by
fgimian
8y ago
You make a fair point and I totally respect your opinion. I was ultimately looking for a versatile language that I could use for my personal projects outside of work and thus I was indeed trying to find a single language that could do every
8.
▲
by
fgimian
8y ago
True, I REALLY hate camelCase though ... hahaha But seriously, I do need to spend more time on Nim and give it a fair chance on a project :) Ultimately, I had to choose something to commit to for a while as there are just not enough hours
9.
▲
by
fgimian
8y ago
You're right about this point. I really should have spent more time on Nim, and I still intend to. In fact, Nim was my main choice prior to learning about Crystal. So no offence intended at all to any Nim fans, and I hope to dive int
10.
▲
by
fgimian
8y ago
Yep, this is true. I'm hopeful that this will come soon :)
11.
▲
by
fgimian
8y ago
Thanks so much for your comment. I had actually tried -O3 during my tests and didn't notice a huge difference in this particular example. fots ~ $ gcc -O -o fib fib.c fots ~ $ time ./fib 433494437 real 0m0.749s user 0m0.743s sys
12.
▲
by
fgimian
8y ago
Hey guys, thanks for reading my blog post and posting it on Hacker News. :) It was just an informal brain dump for me and nothing too serious, so please don't take anything to heart. And indeed, I have only spent a limited amount of t