Advertisement
Nickname
matt
Registered since:
February 6, 2002
Short bio:
Matt began his professional life as an electronic engineer but quickly saw the light and switched to software development. He now has more than 14 years professional software development under his belt, including work in C++, Java, Python, C# and mo
Home page:
http://www.cyclethere.com
Total posts:
1153

Forum posts by Matt Gerrans:

77 pages [ Previous 1 ... 28 29 30 31 32 33 34 35 36 37 38 Next ]
Posted in News & Ideas Forum (Closed for new topic posts), Sep 4, 2003, 10:43 AM
I think titles are almost completely meaningless in this industry. You can choose to distiguish between different titles, but since there are no widely used standards, those titles won't convey any information outside your purview.There are plenty of people with the title Software Engineer who stuggle to write a simple batch file or script and...
Posted in Java Answers Forum, Sep 4, 2003, 10:35 AM
Ah ha. The problem is that you've confused path and classpath. The path is where the OS looks for executable programs (incidentally, class files can be configured as such, but that is another topic), whereas the classpath is where the JVM looks for class files. They are completely separate and different. You don't want that packtest stuff in...
Posted in Java Answers Forum, Sep 3, 2003, 10:42 AM
Looks like classpath isn't set.Try using the set command instead, "set c" should show all variables starting with 'c'.
Posted in Java Answers Forum, Sep 2, 2003, 3:28 PM
It's not necessary to build a jar file, to use packages. (You may want to build one for deployment, however, but that is another subject).Simply this should do the trick:set classpath=%classpath%;c:\packtestpushd c:\packtestmove utilities\TicScreener.java com\utiljavac com\util\TicScreener.javapushd objectsjavac Owner.javajava OwnerPart of your...
Posted in News & Ideas Forum (Closed for new topic posts), Aug 27, 2003, 1:12 AM
> Gosling's comment is what I think we should use as a> benchmark when judging a programming language: How long it> takes to create something robust with a given language.> Since most programming languages are Turing-complete, you> can pretty much use any language to write any program you> wish. I used to think that I was productive with a>...
Posted in News & Ideas Forum (Closed for new topic posts), Aug 26, 2003, 12:05 PM
> Its embarrassing that the interviewers/tech editors did not catch this.Probably wasn't in the throws clause.
Posted in News & Ideas Forum (Closed for new topic posts), Aug 21, 2003, 4:38 PM
> Some people have said that checked exceptions are an> attempt to make java idiot-proof, a sort of dumbing-down> approach to protect programmers from themselves. To me,> that focuses on the wrong side of the equation. The goal> of checked exceptions is not to make *using* an interface> easier, it is to enable programmers to *design* more>...
Posted in Weblogs Forum, Aug 20, 2003, 7:16 PM
> As an "Intellectual" it is important that you seperate> logic and emotion.She called herself an "engineer" not an "intellectual" -- there is little overlap between the two (especially after the title inflation of the dot com boom!). Anyway, logic shouldn't and cannot always be separated from emotion. Nevertheless...Sue, do you apply these...
Posted in News & Ideas Forum (Closed for new topic posts), Aug 20, 2003, 1:43 AM
Smart-ass quips aside, I think I agree with Brandon on this. Java doesn't need more exception cruft, it needs less. My guess is that Sun wanted Java to have mass appeal, which means it needed to try to be idiot-proof (at least a lot more so than C and C++). Hence, checked exceptions, with the thinking that API developers could force proper...
Posted in News & Ideas Forum (Closed for new topic posts), Aug 19, 2003, 12:11 PM
> How about having "unexpects" keyword ?It is already there, but it's called "//unexpects". ;-)
Posted in News & Ideas Forum (Closed for new topic posts), Aug 18, 2003, 9:38 AM
> Rather than> discarding it altogther, perhaps there's some way to> encourage users to use it properly?What is the "proper usage" then? I think that Anders might have been saying that a big problem with the Java implementation is that there is no good proper usage.
Posted in Java Answers Forum, Aug 15, 2003, 1:23 PM
Oops -- I got timed-out, so my preview was posted before I had a chance to correct "acceptible" to "acceptable."
Posted in Java Answers Forum, Aug 15, 2003, 1:18 PM
> Sure you could write a method using the wrapper methods> you listed as long as you are use try/catch blocks to> catch the NumberFormatExceptions that will be thrown.That was exactly what I meant by "try" (I made it bold, but that probably wasn't explicit enough, since in both cases it was next to other text that was bold).> The issue really...
Posted in Java Answers Forum, Aug 14, 2003, 5:14 PM
Hmm. Couldn't you just try Integer.parseInt(), then try Double.parseDouble() (or Float.parseFloat(), if you like) and leave all else as String?
Posted in Java Answers Forum, Aug 14, 2003, 4:25 PM
In conjunction with this, you could write a simple script that goes through all the java files in your project and modifies the line matching something like "^\s*public static final boolean DEBUG = (false|true);\s*$" (I'm not a regualar expression guru, so it can probably be improved upon) to either true or false as appropriate (debug vs...
77 pages [ Previous 1 ... 28 29 30 31 32 33 34 35 36 37 38 Next ]
Advertisement