3 ms·
Really love the idea of text file based monitoring, hate the cucumber interface. I stomach it in rails but I'm not a big fan of English in my code
by kanwisher 15y ago
Really love the idea of text file based monitoring, hate the cucumber interface. I stomach it in rails but I'm not a big fan of English in my code
- politician 15y agoI'm curious about this -- don't you use APIs which use largely, if not universally, English identifiers? Or is there a version of, say, the .NET Framework where the API itself is written in French, German, or Spanish? Or what language has a custom parser for each language so that you can write keywords ("if", "for", "do") in your native language?
- eCa 15y agoBelieve it or not, VisualBasic (and every built in function) in Excel is translated in localized versions, and of course the English keywords are not kept. It's a mess.
- deleted 15y ago[deleted]
- dextorious 15y agoHe means of "English, the natural language", dummy.
- dextorious 15y agoDownvotes? 1) Friends of the parent poster? 2) People thinking "dummy" might hurt one's feelings? 3) People willing to accept needless pedantry when what was meant is obvious? 4) People that also think that the original comment was against english keywords?
- politician 15y agoWell, most people around here seem to think that throwing around invectives lowers the quality of discourse, so yes, you probably got downvoted for that. But actually, and, yes, I may be stupid and slow, but I actually thought the author was a non-native English speaker who didn't appreciate blocks of English in his code. I made that jump after considering his statement in light of other large blocks of natural language that often exist in code -- comments.
- biot 15y agoWhen discussing code in English, there's a huge difference between: result = object.doSomething(someString.toUpper(), someInt); and: with the instance named object, call the doSomething method passing as parameters the result of calling the toUpper method on someString and someInt storing the method return value in the result variable
- fleitz 15y agoWhen you specify and equation do you use english or mathematical notation? five times twenty divided by three to the power of twenty eight is a lot harder to understand, much less defined than: (5*20/3)^28 Also, most imperative languages are crap because of the very tight name binding and difficulty in aliasing as well as insanely large number of unnecessary keywords. In many functional languages if you speak spanish simply put: let si = if and voila you don't have silly keyword issues. (Yes, you can't redefine let easily, but it's a far better situation than the keyword smorgasbord that most imperative languages have) Cucumber solves the problem of: "My manager with an MBA can't read my unit tests" and exchanges it for the problem of "Programmers don't know what the fuck the test does"