Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
colin_jack
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
colin_jack
11y ago
> Modern JS (ES6+) isn't worse than Java or C# in terms of expressiveness. > ES6 isn't statically typed. It might be better for you , it is not for me. So you are saying that because it isn't statically typed it's
62.
▲
by
colin_jack
11y ago
Is that really a general problem in the Go community? I ask because I've seen people explaining the tradeoffs Go makes pretty clearly online without any rudeness or condescending attitude.
63.
▲
by
colin_jack
11y ago
Yeah I agree, but to my mind its good advice delivered in a very condescending style.
64.
▲
by
colin_jack
11y ago
The quote he was commenting on had a very condescending tone too: " Do not complain about something you think is missing, wrong, or stupid. You are ignorant and new to the language, no matter how much of an expert you are on programmin
65.
▲
by
colin_jack
11y ago
That is actually mentioned in the article.
66.
▲
by
colin_jack
11y ago
Woah, did not expect a picture of an animal being bled out.
67.
▲
by
colin_jack
11y ago
Pity the title refers to an interesting discussion point that isn't discussed till quite late in the article, and then only fleetingly.
68.
▲
by
colin_jack
11y ago
As someone who doesn't often use taxis but often finds them the most pushy/unsafe drivers on the road I'll be interested to see if these other services improve that side of things. Its particularly important for me when I
69.
▲
by
colin_jack
11y ago
I wanted to love that course but found that despite his entertaining style the lecturer could be quite hard to understand in places. What I mean is he'd be giving a description of a problem and I actually wouldn't understand what
70.
▲
by
colin_jack
11y ago
> As a side note, I find it helpful to think of what the high level business objects will be at the beginning, but build a bunch of utility functions from the bottom up Yeah I think this is a reasonable approach, especially as if you do
71.
▲
by
colin_jack
11y ago
Its a good book but from my memory it doesn't really address solutions to whats being discussed in the post, and I'm presuming the author is familiar with the book because he discusses characterization tests.
72.
▲
by
colin_jack
11y ago
Totally agree about the dissonance with TDD and it always surprised me it wasn't discussed more when TDD was going through the hard sell stage. I guess my core problem is TDD only drives your design if you write quite granular tests bu
73.
▲
by
colin_jack
11y ago
Yup agreed but the prototype approach is scarier as it affects every user of the prototype, where as with namespaces you opt-in to bringing in extension methods at the file level by importing the associated namespace. Not sure on the whole
74.
▲
by
colin_jack
11y ago
You're obviously right but could this sort of case not be handled by future versions of JS allow clients to opt in to the prototype being modified, something equivalent to extension methods in .NET where if a client wants to use them t
75.
▲
by
colin_jack
11y ago
You have a point but you mention C#, it's worth thinking of how you'd handle one of the examples in C#: items .filter(isOk) .map(toOtherType) ::flatten() In C# that sort of case is primarily handled by extension method
76.
▲
by
colin_jack
11y ago
>Essentially any event where the user would expect feedback means you need write the conditional structure in the output. So if the user types a character in an input box then you need to write the value of the input box to be the charac
77.
▲
by
colin_jack
11y ago
They'll sort that our for you.
78.
▲
by
colin_jack
12y ago
At least in Guardian comments they make no sense, are intensely rude, and tend not to reply to comments. As you say it makes them very easy to spot.
79.
▲
by
colin_jack
12y ago
Some disabled people rely on access to these spaces, meaning if the spaces are full they can't do their shopping and have to go home.
80.
▲
by
colin_jack
12y ago
I think the quote does miss the point, its almost a call for more wall street banker style behavior. As mentioned abovce though thats not really in keeping with his books, and the quote is misleading as it omits the last part.
81.
▲
by
colin_jack
12y ago
That quote didn't seem like him at all, in fact it seemed to be showing a mindset completely at odds with his books, quick google indicates you maybe missed a key part: "And at the other end of the bar the world is full of the oth
82.
▲
by
colin_jack
12y ago
I somewhat agree and consider moving to TypeScript a bit risky as it seems like it'll end up a niche but I do think sensibly added typing code improve JavaScript. I want better tooling support, refactoring support, intellisense...and l
83.
▲
by
colin_jack
12y ago
Couldn't agree more, its also one of the best written tech books I've ever read.
84.
▲
by
colin_jack
12y ago
Ta yeah, I probably should but its usually just I don't find the approach the UI takes intuitive in a lot of cases. Even just things like doing a search, viewing results, compared to Chrome I find it all a little painful...not sure tha
85.
▲
by
colin_jack
12y ago
Its been my recent experience too, I keep a lot of tabs open and began to notice Chrome was filling up my memory. Very strange that Google let the situation get so bad. Mind you I find the Chrome developer tools far more powerful and intuit
86.
▲
by
colin_jack
12y ago
Yeah I plan to ta, to be honest I like what I've seen/used of TypeScript too. However I'm thinking the big win will be in the longer term when JS picks up some of the ideas.
87.
▲
by
colin_jack
12y ago
On the multiple ways, I was sure I read a post that documented them all and had me nodding along but can't find it, this one seems good though [1]. [1] http://ceronman.com/2012/09/17/coffeescript-less-typ
88.
▲
by
colin_jack
12y ago
Possibly, but you can argue the opposite. I've seen a bit of commercial TypeScript and it's been horrific and to me just matched the anything but Web/JS approach I was expecting. I'd also worry that the TS community itse
89.
▲
by
colin_jack
12y ago
I actually don't think its so much about code safety either. To me the real top advantage of static typing is that it leaves the code self-documenting, easier to navigate around, easier to refactor as you say...etc. Having said that th
90.
▲
by
colin_jack
12y ago
"it doesn't make JS a pleasure to work with yet (which seems to be the argument?)" My interpretation of what Retozi is saying is that CS just means that in addition to understanding JS, including ES6, you need to be familiar
More ›