3 ms·
What I wont do: Use a totally different language to write my tests.
by shtylman 13y ago
What I wont do: Use a totally different language to write my tests.
- pselbert 13y agoThe term "totally different" is a bit exaggerative here. I hadn't clicked through the slides, but after reading your statement I wanted to see what crazy "totally different" language was being used to test. Really, a transpiled language isn't much of a stretch. Edit: Fixed spelling typo.
- shtylman 13y agoIt is a stretch because it has different semantics and behavior. It also means that anyone that comes along to contribute or work on the project that knows JS now has to learn coffeescript and any random details that brings to work on your JS project. This doesn't really make sense to me. Just use JS or CS but both in the same project?
- tieTYT 13y agoI barely knew javascript before I learned coffeescript. Now I know both pretty well as a result. coffeescript compiles to really readable javascript anyway (yes, that's subjective). I use both in the same project. For example, I have a gruntfile written in javascript. It's easy for me to modify it. The rest of my code is in coffeescript. It's easy for me to modify it. I think this is a really superficial line for you to draw in the sand. Use the best tool for the job. When you build a house, you end up using more than one tool.