Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lowboy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
lowboy
13y ago
I can recommend the ErgoDox[0]. [0] http://ergodox.org/
122.
▲
by
lowboy
13y ago
It sounds like you've got an organizational problem if merging and the lack of a staging server are the main source of issues for you. How does a bad merge get onto production? Why are "backend people" working on frontend cod
123.
▲
by
lowboy
13y ago
I am a proponent (and user) of CoffeeScript, but it won't help you very much with maintainable architecture. It's mostly just syntactic sugar over normal JavaScript.
124.
▲
by
lowboy
13y ago
The ErgoDox, hands-down. Split-hand, thumb clusters, mechanical switches, runs on an Arduino-like board (Teensy) so the firmware[0] is very customizable. I have common progamming symbols under the homerow triggered with a layer key near my
125.
▲
by
lowboy
13y ago
Nothing, I just recognize "foo != bar" as a conditional better than "foo isnt bar".
126.
▲
by
lowboy
13y ago
Heh, good ol' JavaScript! It's weird though, because I mostly write CoffeeScript instead of JavaScript, which uses "!=" and desugars to "!==".
127.
▲
by
lowboy
13y ago
"Take them" !== "Collect all of the coins to pass the level" As stated, coins are often optional in other platformers.
128.
▲
by
lowboy
13y ago
Yup, good point. Apparently a future version of CS or CSRedux will have it so that this CS: myFn = ()-> # function body Gets compiled to this JS: var myFn = function myFn() { // function body }
129.
▲
by
lowboy
13y ago
But then you get into do-you-don't-you with parentheses, which I find is a sticking point for some people when they try CS. I prefer your first example, personally.
130.
▲
by
lowboy
13y ago
The lack of visual clutter like brackets, semicolons, the var keyword, and the addition of significant whitespace are some of Coffeescript's strengths. Some others are loop variable initialization, better hasOwnproperty checks, destruc
131.
▲
by
lowboy
13y ago
To be fair, having the comma on the same indentation as the enclosing function call doesn't follow the standard multiline list formatting in comma-last JS.
132.
▲
by
lowboy
13y ago
Fair point - I kept it to my experience because I don't have any objective empirical sources to draw from, so maybe I shouldn't use that word. I would argue that it is objectively better to have less boilerplate code (hasOwnproper
133.
▲
by
lowboy
13y ago
No, but eliminating boilerplate code and extraneous characters like brackets and braces does make the code more readable. I've been using CS wherever possible for the past couple of years, and I find it much more readable than JS.
134.
▲
by
lowboy
13y ago
If you're willing to learn CS, it is objectively better. I've been able to more efficiently write, read, and maintain CS than the equivalent JS. Having external factors such as a diverse team, or wanting to draw from a larger pool
135.
▲
by
lowboy
13y ago
I don't use Haml much, but I find CS easier to parse visually. There are fewer distracting elements, like braces, brackets, etc. This results in the intention of the code coming through with a louder voice compared to syntax requiremen
136.
▲
by
lowboy
13y ago
Mixing metadata in with data isn't ideal.
137.
▲
by
lowboy
13y ago
I know how to view a text file, or even navigate a directory of them. But as forsaken said, a GitHub file browser is often not the best UI for viewing documentation, especially when you're already in a browser. What's better, the
138.
▲
by
lowboy
13y ago
How does an security PoC and API library fall under the DMCA? See this comment: https://news.ycombinator.com/item?id=7273662 From what I recall, the DMCA is about copyright and trademark infringement.
139.
▲
by
lowboy
13y ago
Modularity and separation of concerns. You can have a pure designer who doesn't understand code, but can follow the spec for interfacing with the frontend devs (give them a PSD). Just as those frontend devs might not understand how to
140.
▲
by
lowboy
13y ago
If you're looking for a more flexible compilation/build pipeline, I'd suggest gulp[0]. I have a project that uses gulp-react (among other things) and it's blazing fast. Here's my gulpfile[1]. [0]: http://
141.
▲
by
lowboy
13y ago
I use js compilation (CoffeeScript, Browserify, React JSX, etc) and it is definitely worth the extra layer. I have a setup with Gulp[0] that watches my files for changes, compiles, and then LiveReload[1] automatically refreshes my browser w
142.
▲
by
lowboy
13y ago
Then you don't really need the crocodile tears of "Why the hate, guis?". Just set phasers to Such Edgy and blast away!
143.
▲
by
lowboy
13y ago
Sure, but you can make that point in such a way that it encourages dialogue. A good point won't need an overly edgy delivery.
144.
▲
by
lowboy
13y ago
Do you have any non-contrived examples of confusing an object literal and a block? Because as soon as you see this { identifier: You know it's an object literal and not a block.
145.
▲
by
lowboy
13y ago
To answer your question, your comment is just snark that doesn't contribute to the conversation. That's probably where you went wrong.
146.
▲
by
lowboy
13y ago
Yeah, agreed on both points.
147.
▲
by
lowboy
13y ago
Yeah. In the past three years I've gone from Windows, to a CentOS VM, to an Ubuntu VM, now on OS X. Node has worked on all of those platforms. I can't say the same for my .BAT files.
148.
▲
by
lowboy
13y ago
Huh, I've never come across that before. Yeah, that is a problem, and one that I hope they address soon. Fortunately a workaround exists in the form of naming conventions, tedious as that may be. So the Angular approach is modular, but
149.
▲
by
lowboy
13y ago
I'd say the Angular approach is definitely modular in the context of current javascript. Perhaps you're thinking of another language's definition of modular?
150.
▲
by
lowboy
13y ago
Build utilities like Grunt or Gulp will be hopefully more compatible across systems than shell scripts will be. I'm not too familiar with Node's support on various platforms, but I'd wager that it's probably decent. Grun
More ›