Live data from Hacker News

Connect: behind the front-end experience

stripe.com

11–20 of 63 posts

Re: Connect: behind the front-end experience

#11
post #10

It's always interesting to see real world applications of new Web functionality, so kudos to the Stripe team for pushing the envelope in an environment where mistakes could surely be expensive. I hadn't realised that CSS Grid Layout was a viable option for production use yet, for example, so TIL. I do wonder whether sometimes the code here is using trendy tools just to be trendy, though. For example, is const getDist…

Yeah, that's a strange piece of code, particularly since it introduces mutation (object[axis] = ...) and additional processing (reduce loop and inner function construction) that the naive example doesn't. It is slightly more generalizable to additional dimensions, but that seems awfully YAGNI to me. I suppose it prevents repetition of the Math.abs call and addition, but again that seems like massive overkill. I'd wri…

TBH, this thread is pretty nitpicky, but I do agree with your assessment.

Yes and no.

On the one hand, the much more interesting parts here are the new APIs they've been using (and also IMHO the intelligent way they're handling compatibility and polyfills). All credit to the Stripe team both for making these tools work and for sharing what they've learned in the process for the benefit of others.

On the other hand, I think there is a real cultural problem in the JS community where newer is equated with better, and those defending that position will not infrequently appeal to authority by saying that Facebook or Stripe or Google or whoever does it so it must be a best practice. Grandpa here is getting awfully bored of young whippersnappers telling him code using new ES6 tricks is better (or, just as bad, that there's something wrong with clear, working code that does things in some older way). A gentle challenge to that assumption in a discussion about how these high profile organisations are using the new technologies doesn't seem either impolite or unjustified.

Re: Connect: behind the front-end experience

#12
post #4

Nice. But in my experience, front-end design always requires some hacks here and there, e.g. because of compatibility issues or because of design flaws in CSS. So either the Stripe engineers are ridiculously clever, or they are just avoiding the difficult stuff.

There is a section in the post about how they handle fallbacks for older browsers.

Re: Connect: behind the front-end experience

#17

Their landing pages are just so beautiful, like fine art. I do wonder though the return on investment. The pages must take forever to create. Perhaps Stripe just has that much cash.

The landing pages don't look very difficult to implement, but yes, the design is beautiful.

Re: Connect: behind the front-end experience

#18

It's neat and all but I feel like there's something so utterly unnecessary and gratuitous about beautiful bouncy payment web widgets. Makes me sad that CSS programmers make truckloads of money while other workers in the economy rot.

Hehe I don't care about downvotes I just want to do this:

1. CSS isn't a programming language 2. If "workers in the economy rot" while "CSS 'programmers' make truckloads of money" then they aren't in the right industry.

Re: Connect: behind the front-end experience

#19

Their landing pages are just so beautiful, like fine art. I do wonder though the return on investment. The pages must take forever to create. Perhaps Stripe just has that much cash.

Or perhaps, Stripe has front-end engineers that really know what they're doing.

Re: Connect: behind the front-end experience

#20

Their landing pages are just so beautiful, like fine art. I do wonder though the return on investment. The pages must take forever to create. Perhaps Stripe just has that much cash.

Interesting insights into Stripe's collaboration: https://medium.com/in-progress/design-and-collaboration-at-s...
Post reply on HN