Full flippant source is 79 lines: https://github.com/mintchaos/flippant.js/blob/master/flippan... Call me old-fashioned but I prefer not to use these "mini JS and CSS" libraries for every little thing I do. Any competent JS/HTML developer be able to implement something like this using CSS3 transitions in an hour. Too many developers just paste libraries together these days.
If I'm paying my dev $100k/year, I'd rather spend that $48/hour doing something else.
Flippant.js - A mini JS and CSS library for flipping things over
21–30 of 34 posts
Re: Flippant.js - A mini JS and CSS library for flipping things over
#22Earlier quoted context omitted.
If I'm paying my dev $100k/year, I'd rather spend that $48/hour doing something else.
What's he going to do when he comes across a problem where these is no library that solves it?
Re: Flippant.js - A mini JS and CSS library for flipping things over
#23Earlier quoted context omitted.
What's he going to do when he comes across a problem where these is no library that solves it?
It seems pretty obvious that he'd write the code himself in that case because it's actually a good use of his time. Are we pretending like the only options are "Never use code that's not invented here" and "Be totally reliant on other people to write your code for you"?
Re: Flippant.js - A mini JS and CSS library for flipping things over
#24Note: doesn't work in <IE10 and doesn't degrade gracefully
Re: Flippant.js - A mini JS and CSS library for flipping things over
#25Full flippant source is 79 lines: https://github.com/mintchaos/flippant.js/blob/master/flippan... Call me old-fashioned but I prefer not to use these "mini JS and CSS" libraries for every little thing I do. Any competent JS/HTML developer be able to implement something like this using CSS3 transitions in an hour. Too many developers just paste libraries together these days.
Hour is a long time when you can use libraries to do stuff like this in a manner of minutes.
Sometimes it's worth it. For this? Seems unlikely.
Re: Flippant.js - A mini JS and CSS library for flipping things over
#26Note: doesn't work in <IE10 and doesn't degrade gracefully
In IE 10 the 'flip' in the demo worked for me, but the 'flip back' didn't. It looks like it is just the way the even handler on the 'back' of the item is wired up.
Re: Flippant.js - A mini JS and CSS library for flipping things over
#27Re: Flippant.js - A mini JS and CSS library for flipping things over
#28Earlier quoted context omitted.
What's he going to do when he comes across a problem where these is no library that solves it?
It seems pretty obvious that he'd write the code himself in that case because it's actually a good use of his time. Are we pretending like the only options are "Never use code that's not invented here" and "Be totally reliant on other people to write your code for you"?
Re: Flippant.js - A mini JS and CSS library for flipping things over
#29Earlier quoted context omitted.
Why spend time re-inventing the wheel? If you're looking to sharpen your skills, then go for it. I believe most people would prefer to get their product out the door as quickly as it's reasonable.
Agreed, results are important but you're taking a chance trusting any library Joe Programmer created in a couple of hours. I think it's a form of Cargo cult programming.
It's up to the dev to go through source and understand it. Having a test suite helps.