Connect: behind the front-end experience
stripe.com
Connect: behind the front-end experience
1–10 of 63 posts
Re: Connect: behind the front-end experience
#2Re: Connect: behind the front-end experience
#3Re: Connect: behind the front-end experience
#4Re: Connect: behind the front-end experience
#5Nice. 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.
Re: Connect: behind the front-end experience
#6Nice. 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.
Re: Connect: behind the front-end experience
#7Re: Connect: behind the front-end experience
#8I do wonder whether sometimes the code here is using trendy tools just to be trendy, though. For example, is
const getDistance = (state, rotate) =>
["x", "y"].reduce((object, axis) => {
object[axis] = Math.abs(state[axis] + rotate[axis]);
return object;
}, {});
really an improvement on grandpa's version function getDistance(state, rotate) {
return {
x: Math.abs(state.x + rotate.x),
y: Math.abs(state.y + rotate.y)
};
}
?Re: Connect: behind the front-end experience
#9Re: Connect: behind the front-end experience
#10It'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…
const getDistance = (state, rotate) => ({
x: Math.abs(state.x + rotate.x),
y: Math.abs(state.y + rotate.y),
})
TBH, this thread is pretty nitpicky, but I do agree with your assessment.