Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rakpol
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
rakpol
10y ago
Re. GUIs for git, have you taken a look at GitKraken [1]? I haven't had the chance to put it through its paces, but it looks pretty good. [1]: https://www.gitkraken.com/
2.
▲
by
rakpol
10y ago
Aah, sweet, someone else who uses Perforce! I've been wondering, do you use version control as: 1. a way to record logical changes to files (e.g. implement two features without making any commits, then when you're done, pick out t
3.
▲
by
rakpol
10y ago
Typo on your "R&D, Netizens" blurb: certyfication -> certification.
4.
▲
by
rakpol
10y ago
Thus the reason I know carpentry :3 but, having programmed for a while, it seems like the hardest problems are converting plain english requirements to source code. At the point that that becomes trivial (and doesn't fall into WYSIWYG
5.
▲
by
rakpol
10y ago
Isn't cyclomatic complexity just about the number of paths through code? It seems like (statically resolved) nested calls, as long as they don't loop or branch themselves, shouldn't increase cyclomatic complexity.
6.
▲
by
rakpol
10y ago
I was thinking about the issue of nested code the other day -- isn't it (mostly) an editing environment problem? I mean, if my IDE can detect that a method is pure, couldn't it do a little magic (e.g. provide a different coloured
7.
▲
by
rakpol
10y ago
I agree to an extent ... this example is pretty contrived, but when you start getting around ten filter/map/groupby operations in, it gets a little difficult to follow what's supposed to be happening. So typically, my first s
8.
▲
by
rakpol
10y ago
Oh definitely, although I'll have to wait for it to be added to the JDK [1] in order to use that in anger :/ (outside of lombok) [1]: http://openjdk.java.net/jeps/286
9.
▲
by
rakpol
10y ago
Just to be clear, wouldn't the alternative with a monorepo still require that you go back and forth with multiple teams if the commit is not backwards compatible? It seems like the main complaint you have is that it's difficult to
10.
▲
by
rakpol
10y ago
That's like the function composition operator [1] in Haskell, right? Very neat :D I wonder if there's an equivalent macro in Scala ... [1]: http://lambda.jstolarek.com/2012/03/function-composition-and...
11.
▲
by
rakpol
10y ago
From the perspective of a younger dev, this seems like excellent reading for older devs, who tend to enforce their personal style without deferring to the de facto language standards (or PEP 8 for those working in Python). In fact, perhaps
12.
▲
by
rakpol
10y ago
As someone who could very easily be on the other side of that code review (and I'm preeeettty sure I'm not in this case?) I feel obliged to at least try to provide a counterpoint :). So I agree that enormous blobs of unreadable
13.
▲
by
rakpol
10y ago
Your original post mentioned that you thought the author was inappropriately associating low prices with low quality ... that's not prejudice, though, right? That's a bog-standard standard heuristic people in my culture use to est
14.
▲
by
rakpol
10y ago
Perhaps there's more to it than snobbery? Take, as an anecdote, this list of food safety incidents in China [1]. Whether or not that's comparable to the issues in the North American food supply chain, someone felt that there was e
15.
▲
by
rakpol
10y ago
Super biased, layman thoughts incoming. Re. countries vs corporations: countries in isolation make laws for themselves (consumer protection, long-term economic protection, etc.), whereas corporations must abide by the laws of their host cou
16.
▲
by
rakpol
10y ago
Yes, but I have ... reservations. Same as with OCaml, I took on a small project with Scala and enjoyed the language, but only after carving out a subset of it that was palatable. Although it fits the bill, I'd be worried that enforcing
17.
▲
by
rakpol
10y ago
Aah, fair point, it is pretty niche. Still, merely going off of their comparative contribution graphs [1] [2] and issue trackers [3] [4], it seems like Frege has a fair bit more throughput: for better or for worse, it seems like more _thing
18.
▲
by
rakpol
10y ago
Fair point, but it might almost be worth it just to suggest it just to see what the opposition is like -- if there isn't much, or any, go with Frege; otherwise, fall back to pure4j. I'd imagine framing the decision as picking from
19.
▲
by
rakpol
10y ago
The idea behind both would be to introduce it incrementally, carving out parts of the codebase to be rewritten one section at a time. You're right, though; pure4j offers an immediate and easily obtainable win, so it'd definitely b
20.
▲
by
rakpol
10y ago
That definitely made the short list! I picked up ocaml for a side project and enjoyed the language quite a bit. However, ocamljava is either dead or dormant at this point (last commit to master in June of last year) and it seemed to only ha
21.
▲
by
rakpol
10y ago
Hoping for a little advice: I'm trying to push for some development culture changes at work, one of which is doing more local, incremental refactors rather than large, all-at-once changes (i.e. the sort of thing for which one books &#x