5 ms·
Without the code and error message, this is just a rant from some (famous) guy who can't/won't figure out his tools. First of all, it took me forever to f
by oinksoft 12y ago
Without the code and error message, this is just a rant from some (famous) guy who can't/won't figure out his tools.
First of all, it took me forever to figure out the java
command-line incantations to tell it that it needed my
project’s class files and the json.org library (which I’d
already downloaded so I could compile the sucker). Yeah,
I used to know that stuff ten years ago, but there really
shouldn’t be any complexity here.
"incantations"? It's not wizardry.
- maxlybbert 12y agoI'm no fan of Java, but in this case I have to say I don't have much sympathy for Bray. Yes, running Java from the command line is a huge pain, especially if you haven't done it in ten years. Yes, it should be possible. But it can't be intuitive to everybody because people have conflicting ideas of what the intuitive thing would be. Yes, you will have to run "java -help" to figure it out, or package everything in a .jar file.
- benjaminwootton 12y agoEvery programming environment needs to know where to find it's libraries but it's not exactly rocket science - CLASSPATH, GEM_PATH, LOAD_PATH, GO_PATH etc. Just takes a few minutes to figure it out each time.
- tjr 12y agoReferring to things like unusual command line options as "incantations" has been reasonably common across the history of computer usage at least from the 1970s or so, if not earlier. See: http://www.catb.org/jargon/html/I/incantation.html http://www.catb.org/jargon/html/I/incantation.html
- oinksoft 12y agoEspecially used of tricks that are so poorly documented that they must be learned from a wizard.
- xxs 12y agowhat's so unusual about -cp (or "-classpath")
- deleted 12y ago[deleted]
- apetresc 12y agoEspecially since the guy writing this literally wrote the XML spec. You'd think he's be good at deciphering "incantations".
- acdha 12y agoIf you're familiar with most unix tools, you'd expect that to be --classpath. If you need more than one addition, do you use a colon separated list (Unix), semicolon (Windows), or repeat it once per option? Does it expand ~ or do you need to None of this is that hard but if you don't use this all the time it's easy for everyone's soup of almost-but-not-quite similar conventions to blur together and you waste time figuring it out. In the Java world you have the added problem that the JVM has a legacy convention which doesn't follow any platform standard and the problem that many projects use different conventions so you probably also have a different set of rules for JVM options and the actual program options.
- syncsynchalt 12y agoThat's unixese for -c -p, for one. -C <classpath> or --classpath=<classpath> would be more typical.
- xxs 12y agoI was going to say: "first things first: learning your tools is the 1st step" but I see it's been told already. This is just a rant and personally I can't sympathize with. How that is a newsworthy is another issue, though.