forrest92 | 7 years ago | on: Hyperscript Tagged Markup: JSX alternative using standard tagged templates
forrest92's comments
forrest92 | 7 years ago | on: Show HN: PowerPoint slide builder with handwriting
forrest92 | 7 years ago | on: Brain.fm: Music to improve focus, meditation and sleep
forrest92 | 7 years ago | on: Practical Typography
I absolutely hate that the author decided on devoting an entire column to just the menu resulting in the body text being off-centered. There's just this giant uneven gap on the left and it's horrible.
forrest92 | 7 years ago | on: Microsoft Is Putting Ads on the Mail App in Windows 10
well, go on then, elaborate...
forrest92 | 7 years ago | on: What does Stack Overflow want to be when it grows up?
This is such an out of touch statement it's hilarious. Stackoverflow is a wiki in the same way my dog is a heater.
forrest92 | 10 years ago | on: HTML is done
forrest92 | 10 years ago | on: How to name things in programming
I disagree strongly with one or two of the rules. But an even bigger problem is that some (or even most) of the advice either has little value or doesn't really apply to programming. In english, shorter is better, but I'd much rather a longer class name that I can understand than one that's abbreviated to the point where I am forced to look up what its doing. A good rule of thumb that I try to follow is that for the most part, your code should be self explanatory (comments should cover the rest). We have these rules in programming for how to write variable names, and they're better than the ones in that slide. Another rule, that trumps any other is consistency. If you're working on a project that uses the passive voice (which I think works better for some cases) then use that. The nature of programming is different than natural language writing, and so it makes more sense that these rules that are trying to be transferred over are ill equipped to do so.
I mentioned that some of the things just don't make sense As an example, this was one of the slides, "when writing a novel a writer should create living people; people not characters. A character is a caricature." What does this mean? Its ironic that the slide preaches being short and to the point, and yet is bloated with abstract fluff.
Write a method to get the list id.
And FWIW I honestly think JSX is misstep.