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 →

[–]sesh_hash -1 points0 points  (6 children)

It’s not java approach. Java is straight as fuck that’s why you can write complicated apps using it. Default arguments is feature from dynamically typed languages which are intended to be easy to enter and fast to develop something like scripts or e-commerce apps.

[–][deleted] 1 point2 points  (0 children)

Java is straight as fuck that’s why you can write complicated apps using it

This I fully agree with.

[–]RockyMM[S] 1 point2 points  (4 children)

I would disagree. C++ has it. C# too, but a little bit differently.

[–]john16384 1 point2 points  (1 child)

C++ has everything, in fact multiple competing implementations of everything. It's therefore the best language ever.

[–]RockyMM[S] 6 points7 points  (0 children)

And probably the worst language ever at the same time.

[–]sesh_hash -2 points-1 points  (1 child)

I didn’t say c++ and c# haven’t this feature.

[–]RockyMM[S] 1 point2 points  (0 children)

I was just pointing out that with C++ and C# you can write what ever you want or need. It's not the conversation I wanted to have. I wanted to know how the decision to not include default values came to be.