That is exactly what I thought. I can get past the fact that it allows it to happen... but I cannot get past what the actual result is.dandymcgee wrote:I have no idea.. but it SHOULD throw an exception the moment you try to += anything to a null value. I doubt it does, but I've never had a reason to learn Java.
Search found 298 matches
- Fri May 17, 2013 10:36 am
- Forum: Programming Discussion
- Topic: Are you kidding me, Java?
- Replies: 14
- Views: 8654
Re: Are you kidding me, Java?
- Thu May 16, 2013 12:06 pm
- Forum: Game Development
- Topic: What projects are you currently working on?
- Replies: 500
- Views: 152523
Re: What projects are you currently working on?
Falco, you're fired. DistortedLance will be taking over the next AiGD. I've been working on a level editor of sorts (Qt/C++), and I think I'm far along enough to post something about it: http://i.imgur.com/27TTnyC.png There are four tile layers (two for terrain and two for objects), as well as Colli...
- Wed May 15, 2013 11:31 pm
- Forum: Programming Discussion
- Topic: Terra - A low-level counterpart to Lua
- Replies: 2
- Views: 1627
- Wed May 15, 2013 11:23 pm
- Forum: Programming Discussion
- Topic: Are you kidding me, Java?
- Replies: 14
- Views: 8654
Re: Are you kidding me, Java?
ItTim Wilson wrote:It's "nullASDF," right?
is
a
DISGRACE!
- Wed May 15, 2013 5:30 pm
- Forum: Programming Discussion
- Topic: Are you kidding me, Java?
- Replies: 14
- Views: 8654
Are you kidding me, Java?
Tell me what you think this program outputs. Do not cheat. When you do cheat, post your reaction in spoiler tags. package javaapplication6; public class JavaApplication6 { public static void main(String[] args) { String s = null; s += "ASDF"; System.out.println(s); } } I hate this language...
- Tue May 07, 2013 11:05 am
- Forum: General/Off-Topic
- Topic: So what are you guys doing these days?
- Replies: 26
- Views: 10871
Re: So what are you guys doing these days?
Unacceptable. Work should not be one of your priorities! Agreed. The problem is that I feel like I aged a lot in a really short time. I used to come home, open up my IDE, and crank out several hours worth of high quality C++. Now, I come home, fall asleep on my couch, wake up, watch some TV, take s...
- Mon May 06, 2013 8:02 pm
- Forum: General/Off-Topic
- Topic: So what are you guys doing these days?
- Replies: 26
- Views: 10871
Re: So what are you guys doing these days?
Work. Work. Work.
I love my job, but I've been setting aside less and less time for my game development endeavors. It's disappointing. I need to finish out at least one of my projects.
I love my job, but I've been setting aside less and less time for my game development endeavors. It's disappointing. I need to finish out at least one of my projects.
- Fri Apr 26, 2013 9:26 pm
- Forum: Programming Discussion
- Topic: c++ "The evil you most avoid"
- Replies: 13
- Views: 3682
Re: c++ "The evil you most avoid"
Manual memory management is the sharp knife of programming. Some people are comfortable working at that level; others prefer safety. I like it when schools start students off with C because, even if they end up using C#/Java/etc. in their careers, they understand that nothing is magic. Strings, in p...
- Thu Feb 28, 2013 3:25 pm
- Forum: General Gaming
- Topic: Playstation 4 Thoughts?
- Replies: 21
- Views: 19855
Re: Playstation 4 Thoughts?
and what console isn't an "artificially constrained box with no hope of upgrading"? The ones that actually do something different: Nintendo Wii. I don't need a powerful console because I have a PC. I get plenty of eye candy there. I own a Wii because it is the only console that offered a ...
- Wed Feb 27, 2013 10:03 pm
- Forum: General Gaming
- Topic: Playstation 4 Thoughts?
- Replies: 21
- Views: 19855
Re: Playstation 4 Thoughts?
Please link me to the page on Newegg selling PS3 RAM. Ho ho, I c wut u did thar. The point is that you've been living in an artificially constrained box with no hope of upgrading until Sony finally gets around to it. The console needs features to set it apart. Otherwise, it will always be an outdat...
- Wed Feb 27, 2013 9:10 am
- Forum: General Gaming
- Topic: Playstation 4 Thoughts?
- Replies: 21
- Views: 19855
Re: Playstation 4 Thoughts?
I seriously hope that's sarcasm. Not at all. You think the standard "add moar memory" cycle is good? I think RAM is a hell of a lot more useful than a Facebook button on my controller, yes. I'm pretty sure they said you can livestream with that button, which is a pretty big deal. And if y...
- Sun Feb 24, 2013 9:31 pm
- Forum: General Gaming
- Topic: Playstation 4 Thoughts?
- Replies: 21
- Views: 19855
Re: Playstation 4 Thoughts?
Not at all. You think the standard "add moar memory" cycle is good?dandymcgee wrote: I seriously hope that's sarcasm.
- Sat Feb 23, 2013 12:04 pm
- Forum: General Gaming
- Topic: Playstation 4 Thoughts?
- Replies: 21
- Views: 19855
Re: Playstation 4 Thoughts?
More of the same, really. The big thing for the conference was the share button on the controller. THAT kind of innovation is what the console world needs, not more of the traditional hardware upgrade cycles.
- Fri Jan 25, 2013 2:53 pm
- Forum: General/Off-Topic
- Topic: Excellent Low Level Git Talk
- Replies: 10
- Views: 4844
Re: Excellent Low Level Git Talk
Watched the whole thing. Absolutely genius. The core of git is shockingly simple. That sets a good foundation for advanced features in the future. This shifts the pressure away from data complexity and keeps it nicely in algorithmic complexity.
Git is too good.
Git is too good.
- Thu Jan 03, 2013 2:07 pm
- Forum: Programming Discussion
- Topic: How do you name your classes and structure your project
- Replies: 13
- Views: 4951
Re: How do you name your classes and structure your project
I opened up a bit to nested namespaces in Java/C# since you can declare them easily. However, in C++, I definitely maintain a one namespace limit. Even then, you only really need namespaces for libraries. Your final "client code" can be naked.