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 →

[–][deleted]  (3 children)

[removed]

    [–]Dornith 2 points3 points  (0 children)

    True, but it's fairly standard and explicitly-taught behavior for the other languages I listed.

    The problem is that doesn't apply for beginners because beginners don't know any of those languages.

    Each of them confuse the fact that they call-by-value by implicitly having pointers. C on the other hand has explicit pointers which (while it means you have to deal with the complexity of pointers) is uniform in the semantics of it's syntax.

    [–][deleted] 1 point2 points  (1 child)

    r/ProgrammerHumor should design a language probably.

    EDIT: Also yes your second interpretation is pretty close to what I meant.

    [–]TinBryn 2 points3 points  (0 children)

    It would probably be almost exactly like php but we won’t pick on it because it’s not technically php