Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kyllo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
78 ms
·
691.
▲
by
kyllo
12y ago
I'd say Rust is more like C and OCaml had a baby.
692.
▲
by
kyllo
12y ago
Yes, I am talking in the C++ or Java definition of primitive types, like int, char, float, double, long, bool. It's only meaningless to talk about primitive types in the context of Ruby because Ruby doesn't have primitive types. E
693.
▲
by
kyllo
12y ago
Every language has primitive types. Ruby for example lacks primitives, even integer numbers are actually objects of type Fixnum.
694.
▲
by
kyllo
12y ago
There's minikanren which is a library that's implemented in many different languages. Have a look at Clojure's core.logic for an example.
695.
▲
by
kyllo
12y ago
Yes, a primary stated goal of Rust is "memory safety without garbage collection." I'm not aware of any other language for which this is a top priority.
696.
▲
by
kyllo
12y ago
Cool, what martial arts do you do? Brown belt in Brazilian Jiu-Jitsu here. I love coding for some of the same reasons I love training and sparring. It's endlessly complex, so you never run out of new challenges.
697.
▲
by
kyllo
12y ago
Yes and it's also because the projects you'll typically work on in a corporate environment are like maintaining and adding features to boring CRUD apps and your skills will atrophy if you don't actively seek interesting, chal
698.
▲
by
kyllo
12y ago
Absolutely true, and that's why it's important to make a conscious effort to fight these types of unconscious biases.
699.
▲
by
kyllo
12y ago
These are sort of the exception that proves the rule, though. Corporations don't want to rely on poorly supported OSS projects, they prefer to pay for support so they can hold someone accountable for fixing it when it breaks. OpenSSL w
700.
▲
by
kyllo
12y ago
This is a very wise observation.
701.
▲
by
kyllo
12y ago
Yes, you can still run LISP on x86 hardware, but why would you ever want to run C++ on LISP hardware?
702.
▲
by
kyllo
12y ago
I think it's somewhat of a misconception that most OSS is written for free in professional programmers' spare time. For small projects yes, but corporations aren't using their code anyway. OSS projects that are prominent enou
703.
▲
by
kyllo
12y ago
But not solely based on how they look on paper.
704.
▲
by
kyllo
12y ago
That is hard to avoid, because people are called in to interviews based on how they look on paper. And (hopefully) how well they did in the phone screen...?
705.
▲
by
kyllo
12y ago
And we all agree that, almost without exception, we can tell within about thirty seconds of meeting them whether someone is likely to be hired. So you just admitted that you make your hiring decisions based on a snap judgment. OK. But tha
706.
▲
by
kyllo
12y ago
For instance, if I messed up something in my code and had an error, the debugger pops up. In this debugger I can not only browse the stack trace and manipulate those objects, I can actually fix what is broken and resume execution of the pr
707.
▲
by
kyllo
12y ago
Static typing does not say "a better Ruby" to me, Ruby is extremely dynamic.
708.
▲
by
kyllo
12y ago
Exercising is difficult because you're doing it for fitness, not enjoying the act of exercising itself. Play a sport instead, that way you get exercise and the time passes much more quickly because it's fun.
709.
▲
by
kyllo
12y ago
IANAL but this is exactly what I would do.
710.
▲
by
kyllo
12y ago
Clearly an attempt at a better, but still-not-functional Java.
711.
▲
by
kyllo
12y ago
It means deep knowledge/mastery of a specific skill, plus broad knowledge of many other skills. Kind of like a jack of all trades and master of one.
712.
▲
by
kyllo
12y ago
Yes, good point, but this was not meant to be an example of declarative paradigm, just functional paradigm. It's SML, which is not a particularly declarative language. Haskell is a little bit more declarative but AFAIK its pattern matc
713.
▲
by
kyllo
12y ago
The one advantage I see to having borderline-ridiculous packages such as this is that they do One Thing Well Sure, but one function per package is silly. Why not just put all the related utility functions in one package? Underscore does
714.
▲
by
kyllo
12y ago
Cool, reminds me of Dr. Racket mixed with Smalltalk, but for Clojure.
715.
▲
by
kyllo
12y ago
Right, ham refers specifically to cured pork.
716.
▲
by
kyllo
12y ago
How is it possible to be sure of that, though? If they're a contract mfg then by definition they've already signed a contract that says they can't do that, so if they do it, they've broken the contract.
717.
▲
by
kyllo
12y ago
Yes. You only really need objects when you have mutable state. Without mutable state, what you have is just a module that contains data structures and related functions for processing them.
718.
▲
by
kyllo
12y ago
Agreed. I think we tend to underestimate how highly people value interesting work. If you want to do work that most people would rate as interesting, you're going to pay a very high "passion tax" for the privilege. People wil
719.
▲
by
kyllo
12y ago
Exactly. The Rust team is trying to give C/C++ devs a better, safer, and at least equally performant tool to use. They're not trying to replace one group of people (C/C++ devs) with a different group of people (Rust devs). Th
720.
▲
by
kyllo
12y ago
Boring is where the money is, because no one will do the boring work for free.
More ›