Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nrinaudo
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
nrinaudo
10mo ago
The definition of compiler i learned was “takes some code, translate it to semantically equivalent code in a different language (which might be machine language, bytecode…)”. This is also used in PLaI, a respected learning resource: https:
2.
▲
Capture Checking in Scala
(nrinaudo.github.io)
63 points
by
nrinaudo
1y ago
|
18 comments
3.
▲
Programming a Language
(nrinaudo.github.io)
3 points
by
nrinaudo
1y ago
|
0 comments
4.
▲
by
nrinaudo
9y ago
Any dynamic language - by definition, they check types at runtime. Or, unfortunately, a lot of static languages. Any static language that allows type casting, for instance - that's the only way they can check whether a cast from a type
5.
▲
by
nrinaudo
9y ago
You say that like it's a bad thing, but that's what a static language is - types are checked at compile time and, hopefully, forgotten about at runtime.
6.
▲
by
nrinaudo
9y ago
But java.util.Date is mutable where a long isn't, and that's a problem. People can mutate a Date from under your feet if they manage to get a reference to it. This has a lot of far reaching implications, but essentially, unless yo
7.
▲
by
nrinaudo
9y ago
I would say that rather depends on what OP means by "properly". If OP already knows Scala and would like to get better at it and one assumes that "Scala as Haskell in the JVM" is more desirable than "Scala as a be
8.
▲
by
nrinaudo
10y ago
I hate to be that guy, but in the fourth paragraph, the author mentions the variance issue as old news.
9.
▲
by
nrinaudo
10y ago
And else is used more than if...
10.
▲
by
nrinaudo
10y ago
But still, you end up with tests for what the author feels his code should handle, not necessarily what the real world is actually like. Don't get me wrong, that's still valuable - if only for the non-regression aspect - but I fee
11.
▲
by
nrinaudo
10y ago
What do you mean, you should not be testing internal implementations anyway? Does that also mean you don't do unit test, only integration or end-to-end ones, because unit tests are tests of the internal implementation of your software?
12.
▲
by
nrinaudo
10y ago
Or, you know, write property-based tests instead, so you only need to worry about the logic and not the test values. I've always found that if you let the author of a piece of code decide on what value that code should be tested with,
13.
▲
by
nrinaudo
10y ago
I thought the concept entertaining, up until I read the bit about "rape causing little to no long lasting harm to the victim". Shame, this could have been a fun, if weird and selfish, thing.
14.
▲
by
nrinaudo
10y ago
I agree with part of your sentence only. Managers, especially professional ones (as opposed to ones that were promoted from the kind of position they end up managing) do tend to push for client-facing features with little thought to the acc
15.
▲
by
nrinaudo
10y ago
There might not be such a distinction in France. It was a summer job with some level of mentoring, which we just call "internship". It's entirely possible that this is what Americans would call an apprenticeship, my vocabular
16.
▲
by
nrinaudo
10y ago
Yeah, it was an internship with some friend of my parents. I don't believe there was a formal contract or that I read it if there was (but I was 16 and very naive). The "managers are assholes" bit was meant as a joke, and I l
17.
▲
by
nrinaudo
10y ago
While I agree with you now , I recall being on the edge of tears when my very first internship concluded and my manager told me I'd already gotten paid in knowledge and should not expect cash on top of that. For the longest of times,
18.
▲
by
nrinaudo
10y ago
> Who says the dress code is a reasonable decision? I'll tell you who doesn't get to say whether it is or is not: interns (unless the dress code is illegal, but that doesn't appear to have been the case).
19.
▲
by
nrinaudo
10y ago
Slave labour? I assume you're talking about internship in the US, how does that work? In France, I personally pay my interns (no great credit to me though, it's a legal obligation), give them a bonus (usually one month's wage
20.
▲
by
nrinaudo
10y ago
When n (for n >= 2) interns are all told separately no, then gang up and demand more time and attention be devoted to their problem, a problem for which a reasonable decision has already been taken and made clear, it is aggravating. Yo
21.
▲
by
nrinaudo
10y ago
There might very well be an open door policy in that company - apparently, all interns had talked to their managers about the issue, so managers are available. Just because they were denied doesn't mean they weren't able to make
22.
▲
Gradle JavaScript Buildscript Plugin
(github.com)
3 points
by
nrinaudo
10y ago
|
0 comments
23.
▲
by
nrinaudo
10y ago
Thanks for taking the time to share this. I was aware of the community build - I believe it was discussed in some depths on Scalawags a while ago? - and find it to be an amazing initiative. Can't think of a better way to minimise the i
24.
▲
by
nrinaudo
10y ago
If you feel my comments were dismissive of your work, or your team's work, then I owe you an apology. You're right to be proud of what you've done, it's quite a list of achievements and I can only hope I ever produce wor
25.
▲
by
nrinaudo
10y ago
My english is obviously not as fluent as I thought it was. None of this was meant to be implied by my comments. I have no opinion on what the best way to advance Scala might be, nor am I even qualified to hold such an opinion. I have no ide
26.
▲
by
nrinaudo
10y ago
Well, two answers to that. The first is that the linked post answers a lot of points, but not the ones I made. It makes Dotty sounds really exciting, which it is. It makes it sound as if everybody working on Dotty believes it to be the futu
27.
▲
by
nrinaudo
10y ago
You're misreading my comment. What bothers me is not that the "father of Scala" is working on the future of Scala, but that he's working on something that I fear might become another language altogether. I'm not say
28.
▲
by
nrinaudo
10y ago
Absolutely. I'm saying I fear reality and theory might diverge and we find ourselves with a split language / community. I highly doubt anybody set out to write Python 3 thinking "it'll mess with the community for years
29.
▲
by
nrinaudo
10y ago
My fear is that the feature sets diverge enough that we get two very similar but distinct languages and a split community. I'm not afraid that the experiments have moved to Dotty. That's an ideal scenario, if successful ones are
30.
▲
by
nrinaudo
10y ago
Thanks. I'll give this a thorough read - I think it deserves more than the cursory read I can afford to give it right now - and appreciate the time investment this no doubt represents.
More ›