Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
davethedevguy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
31.
▲
by
davethedevguy
5y ago
Thanks! I'm not sure how I managed to completely forget about joining strings. I'll add that.
32.
▲
by
davethedevguy
5y ago
Thanks for this. I've split 'Handling diacritics' in to a separate section to 'Case sensitivity'.
33.
▲
by
davethedevguy
5y ago
Thank you! I've fixed it.
34.
▲
by
davethedevguy
5y ago
I didn't know that! I'll add something to the post. Thank you!
35.
▲
by
davethedevguy
5y ago
> Case (in) sensitivity and accent (in)sensitivity are two orthogonal things Is that definitely true? As I understand it (and I admit I'm no expert), it's common to omit accents in some languages when changing case.
36.
▲
by
davethedevguy
5y ago
Thank you for these comments. I didn't know about this at all! I'll read up on it until I understand it, and then add something to the article that covers it.
37.
▲
by
davethedevguy
5y ago
Thank you!
38.
▲
by
davethedevguy
5y ago
Thank you, you're right that's a mistake. This example was supposed to use: {sensitivity: 'base'} I've corrected it.
39.
▲
by
davethedevguy
5y ago
Ha! Thank you for noticing that. I've fixed it :)
40.
▲
The complete guide to working with strings in modern JavaScript
(baseclass.io)
64 points
by
davethedevguy
5y ago
|
32 comments
41.
▲
Cap Twelve Years Later: How the “Rules” Have Changed (2012)
(infoq.com)
3 points
by
davethedevguy
6y ago
|
0 comments
42.
▲
What Is Bubble Sort?
(baseclass.io)
1 points
by
davethedevguy
6y ago
|
0 comments
43.
▲
What Is the Travelling Salesman Problem?
(baseclass.io)
1 points
by
davethedevguy
6y ago
|
0 comments
44.
▲
What Is a Hash Table?
(baseclass.io)
2 points
by
davethedevguy
6y ago
|
0 comments
45.
▲
by
davethedevguy
6y ago
It's discussed later. It talks about the fact that both sides need to have the same tree, and ways to accomplish that.
46.
▲
by
davethedevguy
6y ago
I take your point. My intention was to pick an example that produced a small tree with only a few leaf nodes (so that the diagram was easy to follow), but still contained some duplication. My hope was that somebody new to the concept could
47.
▲
What Is Huffman Coding?
(baseclass.io)
282 points
by
davethedevguy
6y ago
|
69 comments
48.
▲
Advice to my past self, and other self-taught programmers
(davejsaunders.com)
1 points
by
davethedevguy
6y ago
|
0 comments
49.
▲
by
davethedevguy
6y ago
I agree entirely that this isn't anything new, I hope I didn't imply it was. This is simply my own reflection on how to improve my coding style. > "Every line of code can be hidden behind a function, is that productive, ac
50.
▲
by
davethedevguy
6y ago
Yes, exactly this. The reason for writing this article is that I know I often do it wrong. I'm trying hard to make sure that the comments I do write add value to future readers of the code (including me), and are not just be a by-pro
51.
▲
by
davethedevguy
6y ago
Wow! I'm not sure I'd go as far as to eliminate comments entirely! My aim is just to write _less_ comments, so the ones I do write mean something and aren't just noise.
52.
▲
by
davethedevguy
6y ago
I agree that the examples aren't great. I struggled to come up with terse examples to illustrate the point, but I stand by the general premise of the post. I'm afraid I can't agree with making variable names as short as possi
53.
▲
by
davethedevguy
6y ago
I agree entirely. As far as code that handles bizarre edge-cases, I tried to cover that in "Comments that explain why". Perhaps I missed the mark a little, but I think I was intending to agree with the point you made. "Often,
54.
▲
by
davethedevguy
6y ago
Blog post author here. I'm certainly not qualified to disagree with John Carmack! I can speak for my own experience, however. I understand the argument that moving small sections of code into methods/functions hides the details. H
55.
▲
My mission to (almost) eliminate code comments
(davejsaunders.com)
50 points
by
davethedevguy
6y ago
|
79 comments
56.
▲
Show HN: Weekly email introductions to other makers doing cool stuff like you
(makermail.co)
1 points
by
davethedevguy
7y ago
|
0 comments
57.
▲
Designing for flow
(getteamtools.com)
2 points
by
davethedevguy
8y ago
|
0 comments
58.
▲
by
davethedevguy
9y ago
Google has already indicated that they can measure page speed and use it as a ranking factor [1], i would argue that is a better approach. We're being forced to adopt a new subset of HTML, CSS, JS etc. that has been 'approved'
59.
▲
by
davethedevguy
9y ago
I do believe that it is an effort to increase the speed of pages, by preventing content creators from doing things that can harm the user's experience on slower connections - I just don't think it's the right way to go about
60.
▲
by
davethedevguy
9y ago
Good article. My main objection to AMP is not that is it being portrayed as a community project (although, that does bother me). It is that Google are creating their own subset of already well established standards (HTML, CSS), and forcing
More ›