Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
straight-shoota
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
straight-shoota
4y ago
Nikola had some trouble in the past, but it's actually doing remarkably well. They have electric trucks on the streets right now, with Crystal on board. Read more at https://manas.tech/blog/2020/02/11
32.
▲
by
straight-shoota
5y ago
The format looks neat and I'm sure it could be of some help. But it's also very limited, as it can only express some restricted uncertainty withing the format of the date representation. There's no qualification about the ran
33.
▲
by
straight-shoota
5y ago
Representing partial information can be important in some use cases, mostly related to historical contexts.
34.
▲
by
straight-shoota
5y ago
Crystal core developer here. Happy to see Crystal's stdlib as an example for how you can grasp a language by looking into stdlib code. That's what I like a lot about Crystal. Even its stdlib easily readable. Arguably, this is some
35.
▲
by
straight-shoota
6y ago
I like Ruby, too. But Crystal is like Ruby, and better in many regards. Performance is a huge issue with any computational intensive tasks. Crystal's static typing also avoids many simple errors you would only catch in Ruby with an ext
36.
▲
by
straight-shoota
6y ago
Crystal is sponsored by https://manas.tech/ and the company actively provides paid support to a number of commercial clients. Breaking changes have been really low lately. I have a couple of shards that work on 1.0 as well
37.
▲
by
straight-shoota
6y ago
No, that's expected. The program you wrote might be minimalistic, but there is still a lot of code under the hood for the runtime. If you compile a program that's twice as complex, you should still get roughly the same build time.
38.
▲
by
straight-shoota
6y ago
More accurately would be "no surprising nulls at runtime". If a value can be `nil`, the compiler forces to treat it as nilable. It doesn't throw random null pointer exceptions.
39.
▲
by
straight-shoota
6y ago
Remember static typing is also really useful for code quality and avoiding hidden bugs. Some code in Ruby requires a ton of specs to discover bugs caused by type issues, while the Crystal compiler tells you immediately that something doesn&
40.
▲
by
straight-shoota
6y ago
Crystal comes from a Ruby background, but it's far more than compiled Ruby. As a general purpose language mainly aiming at application development it can surely compete with any of the above in that field. The main objective inherited