Forgot your password?
typodupeerror

Comment Re:Wrong questions (Score 1) 296

So I agree with your point but I think you missed the point of the previous point. However, correctness isn't limited to: "Did I adhere exactly to the mathematical definition of what I am trying to implement?"(in your case a shadow). But did my code match my intention or specification. No one will write a game, see it chug along at 2 frames and say "Well, at least that shadows nice..." Part of the spec, whether it is written or not, is the expectation that a game will run at a playable frame rate. Therefore, the slow implementation does not conform to a programmer's definition of correctness.
Instead, I think the previous poster was implying that some tools and languages have subtle behavior that make it easy to make mistakes.
E.g. If my language allows things like (where = is assignment):
if (debug = true) { //do some expensive computation, or some other thing that was not intended }
Then it might lead to fewer correct programs.

Comment Re:That again? (Score 1) 382

And sorry, I misread the username. I realize you did not complain about imports. You did however compare Java to assembler. Which seems to imply that you haven't written either (incidentally I have also written assembler but only in school for an old Motorola 8080 so it doesn't really count).

Comment Re:That again? (Score 1) 382

Lol, I have used many programming languages. I started on C/C++ and used those professionally. I have used Java and Scala professionally. I have used Python, Perl, and PHP professionally. God knows how many languages I have tinkered with. I use C# to program in Unity for fun. I wrote OCaml in school, do I need to go on. My work is literally on research into programming languages. Yes, Java's standard library has plenty of rough edges (compare Scala's collections to Java's, its mind blowing how much easier to use they are). Every time I use Python's it feels worse.

Comment Re:That again? (Score 1) 382

To start: Intellij. Not Eclipse. Second, you complained about imports. It's a non-issue. They can both be added and hidden by the IDE and usually take only a cursory verification. Furthermore, you can customize the way in which imports are added and how they are suggested. It's such a trivial thing it makes me feel like you've never done modern development.

It would read my mind and output proper working Java code, with all the boilerplate, configuration and 3rd party libraries includes?? Would it also by chance deploy to customers too? and provide support and updates? What is the keyboard short-cut to all this magic?

What language WOULD do this for you? You are still need to enumerate your dependencies in some fashion. You still need to curate the libraries you use and deliver them to your client. How do you deliver the 3rd party libraries in python to your customer?

Comment Re:The absolute #1 contribution of Java (Score 2) 382

So people who would otherwise be employed asking "Would you like fries with that?"

The elitism here is staggering. Are you kidding me? The entirety of Computer Science and Software Engineering is enormous. You're trying to boil it down to systems/performance.

You *always* have to be closer to the hardware:...

Yes because again, we are all Facebook looking to reduce rack space. You took a series of problems that require high performance and generalized it to ALL of computing. It's just not true. I know plenty of people who write programs that run on asymmetric hardware. There are plenty of times a JIT or AOT compiling is going to outperform anyone but an expert. Yes, there is a performance trade-off that is often made for using a GC language that you recoup in reduced engineering effort. It is much easier to get programs right with what is usually an inconsequential performance penalty. Yes, there can be LARGE penalties for misunderstanding your underlying hardware, OS, etc... But that's, again, not unique to Java. But in practice, there are plenty of companies with large scale Java systems that perform well and can be modified much more quickly by worrying about the business logic at hand rather than the hardware underneath.

Comment Re:The absolute #1 contribution of Java (Score 1) 382

pointers, explicit memory management, stack layout, static memory maps, etc., etc..

Yes somehow without firm understanding of these concepts people can code a huge amount of useful code. Many programs require no knowledge of any of this. I cut my teeth on C/C++ but now do mostly Java. Is it easy to write poorly performing code in Java? Sure but the same is true for every language. If you need to squeeze top performance out of something, you hire a person who knows how to write performant code. This is true in ANY language. Day to day, we would waste an enormous amount of time if this is what our programmers were thinking about.

In other words: a crapload of people with "Computer Science" degrees who could not write an OS or even a trivial part,

Because that is something I will ever have to do. I mean, if only there were stable, well-made OS's out there. We could all stop worrying about this. But I get it, having an understanding of what the OS does is important and your right. CS grads and serious programmers should have real-world and academic experience writing low level code. That said, you're blowing it way out of proportion.

like the C library signal trampoline, to save their ass, because they are in this walled garden/protected environment where they are "safe" from having to actually deal with real hardware.

Hmm, I seem to recall a concept called abstraction. It let's you get work done without having to worry about inconsequential details. However, being close to hardware is not nearly as important as it use to be. We're not all writing graphics drivers here or writing a realtime mobile apps.

Ironically, all of their JVMs on which they are normally running this code are not written in Java, because it's not really practical to do that.

"Whoosh," is the sound you hear over your head. What's the point of Java? Why do people use it vs why do people use C/C++ vs. Java? Sometimes you need to be closer to hardware. This is one of those times. Therefore, you wouldn't use Java.

Slashdot Top Deals

Marriage is the sole cause of divorce.

Working...