Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hex13
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
hex13
10y ago
how old? 60+? 50+? 40+? 30+? 20+? (I'm serious, sometimes even 25 year old devs feel old).
62.
▲
by
hex13
10y ago
There will be. Maybe I will port my Atom plugin ( https://atom.io/packages/atom-lupa ) to VSCode or maybe I'll write from scratch whole thing. I don't know when exactly though (now I'm making something b
63.
▲
by
hex13
10y ago
It depends. In many cases you would be right, in many other cases you wouldn't. It depends on many factors: - what is the problem? (some problems are really hard, some problems are trivial and just seem hard) - is developer experienced
64.
▲
by
hex13
10y ago
I begin to think that nowadays websites are just designed for "zooming in" in mind (very small fonts, too many space etc.). So maybe we shouldn't complain. These websites are just meant to be zoomed. Although some web develop
65.
▲
by
hex13
10y ago
I did debug NodeJS backend (multiplayer games) with Electron. It was very cool because I was able to see internal server state on simple HTML dashboard I made (for example I was able to see map with player positions or some important game v
66.
▲
by
hex13
10y ago
Yeah. You're right that even classes allow for great amount of dynamics. I've seen classes with decorator annotation and decorator can change classes as much as it wants. I've also seen patterns like: class Foo {... } /&
67.
▲
by
hex13
10y ago
There was not such thing like ES3 module syntax. This is just programming pattern many people used: https://addyosmani.com/resources/essentialjsdesignpatterns/b... It was a great idea back then, but that was never
68.
▲
by
hex13
10y ago
1. Sass is not as needed as it used to be (native CSS variables, PostCSS, CSS Modules, Radium, inline styles etc.). But of course many users prefer Sass. But Sass in its CSS syntax (SCSS) is (if I'm correct) just super set of CSS. You
69.
▲
by
hex13
10y ago
Syntactic sugar? But `createClass` is a lot worse syntactic sugar than ES6 classes. React.createClass (and angular.directive or similar guerilla solutions) are harder to analyse statically. And without static analysis you won't have pr
70.
▲
by
hex13
10y ago
it seems like a solution to the Vjeux's challenge: http://blog.vjeux.com/2015/javascript/challenge-best-javascr... (If we don't count sharable requirement).
71.
▲
Lost in code. Created tool for finding way out
(medium.com)
2 points
by
hex13
10y ago
|
1 comments
72.
▲
by
hex13
10y ago
It's just vanilla Javascript, not some "foreign way". Checking `"somestring".indexOf(something) != -1` is common idiom in JavaScript because function indexOf returns -1 when there is no match. Just look for the defi
73.
▲
by
hex13
10y ago
link: http://atom.io/packages/atom-lupa
74.
▲
Show HN: Atom plugin: better navigation panel
1 points
by
hex13
10y ago
|
1 comments
75.
▲
by
hex13
10y ago
Interesting. I have also seen other solutions which address this problem: 1. https://github.com/facebook/fbjs library that Facebook uses in React: you have @providesModule annotations in modules, and you can write e.g.
76.
▲
by
hex13
10y ago
I mean code style doesn't matter in JavaScript world. If I was developed in Python I would follow PEP8. But this just proves the point - code style doesn't matter to me much, so I could follow some other's codestyle, just to
77.
▲
by
hex13
10y ago
Code style doesn't matter but tools like Eslint (or other linters) that can enforce some unimportant stuff, can also be very huuuuuge help for JavaScript programming. They can point most JS errors, for example.
78.
▲
by
hex13
11y ago
Everybody is junior developer sometimes. Everybody sometimes makes stupid bugs and doesn't see why. Everybody sometimes doesn't know obvious things. Everybody is beginner sometimes. I think that even when senior programmer learns
79.
▲
by
hex13
11y ago
there is a Vim plugin for Ruby on Rails: https://github.com/tpope/vim-rails
80.
▲
by
hex13
11y ago
like Angular does. Nothing new.
81.
▲
by
hex13
11y ago
Seeing this post in context of whole conversation will show that Linus' stance was not that bad: https://lkml.org/lkml/2000/8/22/12 (quote from Linus' post) ` It's true that "simple a
82.
▲
by
hex13
11y ago
- team work, unless somebody learned this skill in other way - SCRUM - it would be hard to teach oneself SCRUM without job environment - jargon (I didn't know what "pull request" or "ticket" ment before I went to th
83.
▲
by
hex13
11y ago
Besides I think everybody who e.g. makes some side-projects, or is active in open source is in fact amateur in the sense of "a person who does something (such as a sport or hobby) for pleasure and not as a job" :)
84.
▲
by
hex13
11y ago
This is the old truth - premature abstraction is a root of all evil (I know original quote was "optimization", but isn't an abstraction just some "architectural optimization"? ;) On the other hand: I often see copy
85.
▲
by
hex13
11y ago
just saying... ;)
86.
▲
by
hex13
11y ago
Uhm... Usually I'm buying games on steam for 5-15 euros. There is a lot cheap special offers...
87.
▲
by
hex13
11y ago
The biggest advantage of this progress is that there is a lot experimentation with new kind of tools (for example Redux Dev Tools. This is fascinating. I mean Redux is great, but the fact that there are dedicated dev tools for this? Wow. I&
88.
▲
by
hex13
11y ago
JavaScript :) Although I keep forgetting some functions even from JS.
89.
▲
by
hex13
11y ago
No. It's not creator-janitor thing. It's rather the situation that programmer A makes a huge technical debt, and programmer B must pay him off. It's poor code design, poor code management. It's more like: - irresponsible
90.
▲
by
hex13
11y ago
Imagine that you have to create website on your laptop. With semi-transparent editor window and with live reloading, you are able to modify website code and see instantly how website changes underneath. Without switching apps.
More ›