Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 internet speed test! ×

Comment Good for mobile development? (Score 1) 80

How well does using Qt for iOS and Android development work? Last I checked, the documentation on how to effectively utilize Qt for this purpose wasn't nearly as informative as using it for it's more traditional use case. I would love to be able to do cross platform mobile development using C++.

Comment Re: Knowing when not to (Score 1) 345

Your code must suck. When I look back in my code, the only improvements are generally API/language enhancements related. But I've always written clean fast code. Even in 6510A ASM... :)

Either that or your skills haven't improved at all between the time you wrote the code and the time you came back to it, which is far more likely the case. After all, if you think you are already great then there's no reason to up your game.

Comment Re:Why do people still care about C++ for kernel d (Score 1) 365

In C++, if you're dealing with an object of a class type, you always assume that an assignment operator or cctor is being invoked when you see an assignment being performed or something being passed around by value. At least I always do. Reason being is that if the programmer decided to make it a class, it probably has non-trivial implementation details necessitating the need for op=() and a cctor. It probably needs a destructor too. Hence the Law of the Big Three. Some places even consider it a bug if a class doesn't have these three member functions (or at least documented that the compiler-generated versions will be used) and will get flagged during a code review.

Comment Might want to take a look at RAD Studio XE7. (Score 1) 316

For those looking for a cross platform solution, there's also RAD Studio XE from Embarcadero (current owners of Delphi and C++ Builder). RAD Studio includes both Delphi and C++ Builder, so you can either go Object Pascal or C++. The cross platform framework you'll be learning would be their Firemonkey API. With this package, you can develop for Android, iOS, and Windows from one code base (however I'm guessing, as with the case with all cross platform solutions, your mileage may vary).

I haven't tried it myself, but I've been looking seriously into it. I would be interested to see if anybody has actually tried this tool for mobile development and would care to share their experiences.

Comment Re:XBMC (Score 1) 54

Also plays 1080p without a hitch.

Latest stable of XBMC, Gotham, now works completely out of the box on Ouya. 1080p, AC3 and DTS decoding, AC3/DTS passthrough, everything. And as a bonus, you get a silky smooth XBMC interface experience unlike on the Pi.

You have a point about the CEC thing tho. Just get a remote with an IR learning function so you can use that to turn the TV on/off and control the volume on your receiver. Everything else will be used to control the Ouya.

Comment Re:Learn the background of languages (Score 1) 387

You can do encapsulation easy enough in C. But what about inheritance and dynamic binding?

The point of OO languages is to be able to support OO constructs and make implemented OO designs easier. True, you can do all those OO things in C. But without language support, it gets to a point where the pros are outweighed by the cons. C++ and Objective C were invented for a reason.

Comment Re:Engineer (Score 1) 422

You should try actually working with people outside of academia and you will quickly learn that just because there degree says "engineer" on it doesn't make them an engineer. You will learn the converse to be true as well. I've encountered people with physics degrees and computer science degrees hold "engineering-type" positions who I would say were actual engineers compared to people who were really nothing more than "paper" engineers.

Comment Re:Programmers are not Software Engineers (Score 2) 422

Something tells me you've never seen the curriculums for undergraduate software engineering degrees. They're computer science degrees with mandatory software management courses thrown in replacing what would've been elective courses in Computer Sceince. At least in the States they are. Nothing about the curriculums make them more "engineering-like" than Computer Science. Unless my CS program just happened to be more "engineering-like" compared to everybody else. Perhaps ABET accreditation makes all the difference.

Comment i wish i still played games (Score 1) 163

I'm a programmer and I don't play games any more :(. Not sure what happened. In college, I damn near flunked out because I played Quake too much. But ever since I started working professionally (10 years now), I simply don't have the motivation to load up a game and play it.

Comment University is ... (Score 1) 913

University is not trade school. You go there to get educated. If all you know is one narrow field, then you can hardly call yourself educated.

You can do what I did and take the general ed classes at the local community college, then just transfer the credits in. A lot cheaper that way.

And out of all the general ed classes you need to take, I'd have to say the English 101 class is the most important. It's just down right embarrassing to claim that you are educated, but can't even write a coherent paper. And yes, you do that a lot in the professional world. Or in more general, you need to be able to communicate effectively. I know this one senior developer who said one of the best developers he's ever had was a guy whose degree wasn't in CS or related field but in English. And it was simply because he was knew how to communicate his thoughts in a clear and effective manner. His code might not have been as tight and efficient as a CS guy, but in the grand scheme of things that doesn't matter as much as being able to write clear and maintainable code.

Who knows, you might actually enjoy some of those non-CS classes. I know I liked the critical thinking class I took to fulfill a humanities credit. That surprised me because I'm pretty sure I wouldn't have signed up for a class like that if I wasn't forced to pick something.

Comment Re:Nice but... but nothing. They are useful. (Score 1) 385

For example, while g++ mostly supports the new standard I'm pretty sure gdb doesn't allow you to set a breakpoint in an anonymous function. Until it does I would say they have no place in application development, or only under the most draconian coding standards that prevent the kind of unpleasantness you get when a junior developer realizes all the kewl stuff they can do with them.

VC2010's debugger allows breakpoints in lambdas. Just sayin' ...

Slashdot Top Deals

Talent does what it can. Genius does what it must. You do what you get paid to do.