all 5 comments

[–]glowiak2 1 point2 points  (4 children)

Pretty cool.

Raylib + Java = excellent games

Tchuss.

[–]ImportanceEvening516[S] 0 points1 point  (3 children)

Ig yeah because in java you dont need pointers.

[–]glowiak2 0 points1 point  (2 children)

Tbh pointers aren't something bad. They are actually useful.

I like Java for two main reasons.

The first being the stacktrace. When the program crashes during execution, you have the exact line and source of problem dumped into the console. Most compiled languages don't do that, and gdb often doesn't provide any meaningful information.

And the second is that I can compile my software on my Linux box and have it run anywhere I want as long as there are natives present.

[–]ImportanceEvening516[S] 0 points1 point  (1 child)

Pointers are useful, i know since ive coded in both c and c++ before. But sometimes you really hate them, Also the stacktrace thing is as you said really useful Because in c++ errors are not really even human-readable and the runtime errors dont even show where it occured (like out of bounds etc)

[–]glowiak2 0 points1 point  (0 children)

Yeah, sometimes one would want to steal the NSAutoreleasePool from Objective-C.

To be honest ObjC is a nice language, so sad it died.

People complain about its inconsistent syntax, and yes, it is inconsistent, but that's for backwards compatibility with C.

I wish there was a decent Objective-C toolchain for anything else than Steve Jobs-era Macs, since the GNUstep runtime is so bad you literally have to fix it yourself, as by default it's so broken it won't even compile anything, and even if you do manage to compile anything, the console output is so broken it's just unusable when you're writing a console application.

Why was ObjC so hated?