Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nilliams
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
241.
▲
by
nilliams
12y ago
Thanks, I remember seeing this a while back but didn't realise it was RequireJS-aware. The demo is pretty great.
242.
▲
by
nilliams
12y ago
Yep, same as CoffeeScript. All CoffeeScript's `class` stuff does is set up the prototype chain for the exact way that every JS dev under the sun does their manual prototype stuff. AFAICT you're doing the same thing you're jus
243.
▲
by
nilliams
12y ago
Can't agree with your implication that 'real JS stuff' won't get done and 'JS people' won't get on board due to its 'focus on OOP'. I've yet to see a large JS app written in a 'function
244.
▲
by
nilliams
12y ago
Cool, same to you!
245.
▲
by
nilliams
12y ago
Sorry, I'm not looking for an argument and I didn't mean to put words in your mouth. My original post was badly written and overly argumentative, I think I was in a bad mood and a couple of your points just set off my usual UX
246.
▲
by
nilliams
12y ago
Well of course, I didn't mean it quite that literally and am a bit sad to see I got downvoted but I guess I did make the point poorly (and mildy aggressively now I read it back). I should probably just have linked to somewhere the argu
247.
▲
by
nilliams
12y ago
On point 1. I hope you appreciate your angle is pretty oldschool and would beg to strongly disagree. I have read a lot of HN commenters over the past few years commenting on similar designs/redesigns that seem to share your viewpoint a
248.
▲
by
nilliams
12y ago
You're slightly off on your definitions - what you show in that example is dependency injection. You are injecting dependencies into `some_func` by passing them in. See my response to kyllo below. I think what you are arguing against
249.
▲
by
nilliams
12y ago
What you just wrote as a code example is Dependency Injection, it's just manual dependency injection as opposed to using an IOC container or any of the mechanisms Angular provides. I am very much in favour of the approach you posted.
250.
▲
by
nilliams
12y ago
>> where programmatic wiring and modules already solve the problem in an idiomatic way Can't agree with that. Not sure what you mean by 'programmatic wiring' as it sounds vague, but certainly modules do not solve the s
251.
▲
by
nilliams
12y ago
Nope your argument doesn't follow from parent's point. Parent is saying people want durability and better battery life and would gladly sacrifice thickness for it , not sacrifice all the things that iPhones have and those old Nok
252.
▲
by
nilliams
12y ago
Please elaborate. Net neutrality affects the whole web no?
253.
▲
by
nilliams
12y ago
I don't see anywhere in this site's copy where they suggest that you integrate your test code into the same code that you're testing?
254.
▲
by
nilliams
12y ago
Yep they flat out break stuff in IE at least. Cookie saving, for instance, simply won't work if the domain contains an underscore.
255.
▲
by
nilliams
12y ago
> Let's move it around a few orders of magnitude to see how you feel Haha! What a tactic for an argument. I'd love to see that added to yourlogicalfallacy.is but it's so absurd it'd never make the cut. I do feel like
256.
▲
by
nilliams
12y ago
Can't remember the last time I opened a 2mb file in my code editor. And who cares about the number of files. It's not claiming to be usb-stick portable.
257.
▲
by
nilliams
12y ago
Agree. Hopefully (?) it's just JS by the point we get to `Mail.outgoingMessages` so it should be fairly straightforward to mix-in underscore's methods into whatever their 'collection' representation is, the same way Back
258.
▲
by
nilliams
12y ago
> ...and thus require a maintainable programming language. Hum, bit of a lazy dig at JS there. Also tell that to the Brackets team [1]. It has a pretty decent feature-set. [1] http://brackets.io/
259.
▲
by
nilliams
12y ago
Thanks for this, somehow I've never seen this before!
260.
▲
by
nilliams
12y ago
I think you're sort of missing the point. It's not about 'editing your github files', and anybody who brings up VIM is definitely missing the point (it's not for you!). As I understand it Prose is about the potent
261.
▲
by
nilliams
12y ago
Why? They're flat and simple because (if you buy into the flat movement's sentiment) we don't need skeumorphism to distinguish a button anymore, but when you press it it does something 'because feedback'. It doe
262.
▲
by
nilliams
12y ago
> With an order of magnitude more code, one has to wonder how much of that extra code is more functionality and how much is just bloat. Sorry but that is almost the archetypal FUD sentence of the 'micro framework'. And the more
263.
▲
by
nilliams
13y ago
> Like if you really want to fully utilise the prototype based inheritance, or the functional aspect of the language, you will basically have to write a whole set of utilities and extension on your own. Hmm, this is definitely something
264.
▲
by
nilliams
13y ago
Yep I was disappointed by this too. I had a few frustrations trying to integrate the off-canvas navs from Effeckt.css [1] into an actual app (was combining with Ratchet) and found their code to be pretty hacky/bad. I ended up with some
265.
▲
by
nilliams
13y ago
You would normally be triggering these menus from a button near the menu, so you would expect the movement. They're only triggered from buttons in the centre of the main page for demo purposes.
266.
▲
by
nilliams
13y ago
Yep, 'optimistic updates' is the term I like. Alex Maccaw wrote a good article on the subject a few years back: http://old.alexmaccaw.com/posts/async_ui
267.
▲
by
nilliams
13y ago
As gary explained he wasn't wrong in his response to the question because the audience member was asking whether [object Object] means the object is in an array. It doesn't. The string point is moot. I do agree the {} + [] examp
268.
▲
by
nilliams
13y ago
I have to respectfully disagree. I have coded for years in a lot of C-style languages, mainly C, Java, Python, Ruby & JavaScript and I've been struggling with the Clojure book (and various tutorials) for over a year. It's not
269.
▲
by
nilliams
13y ago
> How is it better than other existing open icon sets such as FontAwesome, then? (From the homepage) I suppose it'd be these 2 aspects: - [...] designed to be legible down to 8 pixels - Our icon font WOFF is 11.1Kb (roughly 4
270.
▲
by
nilliams
13y ago
Before you book your Aus plane ticket, you may be saddened to know the UK and Aus Woolworths are completely unrelated [1] and very different beasts :( The Aus/NZ ones are much more like supermarkets, I went to one in NZ and sadly found
More ›