4 ms·
Disappointing they are still going to use Arc even with the update to modern HTML. I despise how with Arc if I leave the page open during the day and try to cli
by lnanek2 12y ago
Disappointing they are still going to use Arc even with the update to modern HTML. I despise how with Arc if I leave the page open during the day and try to click a link later the link has expired.
They should really update to a modern web framework at the same time. Big modern frameworks like Rails are making ridiculously awesome improvements like replacing page loads with XHR (quicker loading since JS/styles/etc is all loaded already, no screen flash, etc.) in a progressive enhancements manner.
So Arc can't even generate fully functional links, let alone keep up with modern web advancements.
- danielhughes 12y agoWhat is it about Arc that causes the unexpired link issue? I know very little about Arc. But I understand it to be a language whereas the issue you describe appears to be the function of some implementation decision. Can you please elaborate?
- dang 12y ago(I'll take a crack at explaining this momentarily...) Good grief, that took a long time. Here you go: http://pastebin.com/bSW5dfRQ http://pastebin.com/bSW5dfRQ [1]. I'd better stop neglecting my duties now! Edit: One thing I forgot to put in there: one reason the closure technique is powerful is that you're leveraging the programming language and runtime to do most of the book-keeping for you. Whatever data is handy, you just reference. The system will remember all the references. That's why using things like query strings and hidden form fields is more complicated: you have to handle all those details yourself (not to mention serialize and deserialize them if you're passing through any other format than what your program keeps in memory). That is tedious, and when your app has many kinds of request, the complexity quickly piles up. Of course there are other abstractions you can build over this, but closures are an elegant one—especially in cases where programming simplicity is more important than scalability, which is most cases. Edit 2: A few people thought this should be its own post, so I made https://news.ycombinator.com/item?id=8425011 https://news.ycombinator.com/item?id=8425011. [1] Originally http://pastebin.com/dETyYtpX http://pastebin.com/dETyYtpX, but I added the above bit etc.
- kogir 12y agoI guess you don't use HN very often. We fixed that in nearly all cases a few months ago :)