Jim Venolia

Ranch Hand
+ Follow
since Sep 07, 2013
Jim likes ...
Chrome Linux VI Editor
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
28
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jim Venolia

That's bad and you need to fix it.  Unit tests won't help with the GUI stuff (YMMV, I don't do GUIs), nor with gameplay.

But if you can't/don't write unit tests your pretty much screwed.  I would focus on that, and Junit, before writing any more code for your game.
1 week ago
Every time you write a class write a unit test for it.  Every time you compile your code re-run your unit tests.  Every time you fix a bug write a unit test to ensure the bug stays fixed.  Learn how to use Junit.
1 week ago
I was responding to the headline, namely How Dead is Java.  There were no replies on /. when I posted this.

I respect the hell out of you, but here I really have to ask Whiskey Tango Foxtrot?
2 weeks ago
There are no slashdot quotes that I know of, I read the headline and posted.
2 weeks ago
Re-reading my post a thought hit me.  Could Javascript be as popular as it is because when, it encounters an error, it just silently returns the wrong result?  No error, no problem.  Finding wrong results in a "working" program is a lot harder than fixing an error message.

I effin hate Javascript with a passion, in case you haven't noticed yet.
2 weeks ago
I learn from my mistakes.  A popular website is now asking how dead is java.  Never mind they say it's the second most popular language after Javascript.

Subby's notes.  I've learned a lot of languages over the past 40 years.  BASIC, assembler (z-80, 8086, 6502, 68000, yadda yadda) C, awk, sed, perl, python, ADA (try writing a device driver when you have no access to the hardware), and we won't mention the AMD 2900 bit slice stuff on this forum (google Mick & Brick if you care, but the most fun I've ever had was programming it), tcl/tk, and yeah, Java.   Some I liked (bit slice was a blast), some was just Getting Stuff Done, some was You Have To Be Kidding (tm).

The one language I hate?  javascript.  I have never before, nor since, thought a language was actively hostile to me.  Program works on your machine?  Shoot it to production, they installed JS with different options and things failed.  No errors mind you, just wrong results.  Wasn't just me, there were 5-10 of us at the time, we all had the same problem.  Granted, this was 20 years ago.  But the burn hasn't healed, and I will never again accept a job that requires JS.

Ahh, the ADA thing.  Early drafts did not allow hardware access (think 1990 or so).  I wrote sonar software for the Seawolf submarine.  I was talking to a DSP board where I had to not only set pointers to registers, but set/clear specific bits.  The ADA spec at the time did not allow for that kind of thing.  Not to mention compilers at the time were slower than snail snot.  We got a waiver to write our code in C.  I don't hate ADA, I'd kinda like to see what it's like today.  But my experience, 30 years ago when it was brand spankin new, was not good.

I retired some 6 years ago, and last June/July decided I'd never work again so consider me that dude in the shadows bitching about eveything.
2 weeks ago

there's always the possibility that his password to this site has been compromised... but people can easily sign on here and post links to malware sites anyway.  (When they do that, the moderators usually notice it fairly quickly and get rid of them and their posts.)


Yeah, that's what I was counting on.  If a link is active for an hour then the mods have blessed it.  Probably says more about my trust in this site than anything else.   I may have messed up, but really.  Had I given context would anything have changed?

Not being a smartass, just wondering.
2 weeks ago
I was actually counting on my reputation and this site's reputation when I just posted the link.  It's a survey saying salaries of Java developers is growing faster than average.
2 weeks ago
My pet peeve are messages like "can't create directory" and "can't create file".  What file/directory can't you create?  The APIs return error codes, use them so I know what the problem is.  For example, "can't create /foo/bar/blatz: permission denied".  Isn't that much more helpful than "Can't create file"?


2 weeks ago
I'll just drop this here.
2 weeks ago

Tim Holloway wrote:Unless I am very mistaken, "char" is a Unicode character. Not the same thing as in C/C++ where "char" practically means thinly-disguised byte. So I fail to see where using char with non-western languages makes any difference.

In fact, the p├Ždant in me says that treating characters as integers is the more questionable practice.



As one who works with binary streams fairly regularly I miss my unsigned byte datatype.  3-4 years back I wrote a parser for such a stream in Java and had all sorts of issues.

Of course, that's completely irrelevant to this thread, which I'm finding very interesting.  Can anyone recommend a good book for learning streams?
3 weeks ago