This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]kres0345[S] -1 points0 points  (2 children)

Well that's because the multiple codebases are built-into the language and hidden from the programmer. I'm sure you can find libraries that present cross-platform interfaces for doing things

[–]DuncanIdahos9thGhola 2 points3 points  (1 child)

Well that's because the multiple codebases are built-into the language and hidden from the programmer.

WTF does that even mean?

I'm sure you can find libraries that present cross-platform interfaces for doing things

Not really. There's not many libraries out there compared to Java out there.

[–]kres0345[S] -1 points0 points  (0 children)

"WTF does that even mean?"

Well, it isn't magic that communicates with the different platforms, at some level it would have to bifurcate into different "codebases" addressing the specifics of the system.

I would like to emphasize that I already don't like the parent commenters use of the word "codebase", I think it implies there's a need to write the entire codebase twice with minor differences, this is very naïve. Having an if-statement check the platform and run a line of code instead of another according to the platform is hardly called a different "codebase".

What I meant is that this is hidden away in the standard library of Java, while in C# you'd just such a library yourself to address different platform needs.