Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

A Quick Comparison of Programming Languages [6/10]

6. Argument Passing

Another important distinction among programming languages is the argument passing convention.

C and C++ use call-by-value, whereas Java, C#, Javascript, PHP, and Python use a mixed convention, passing primitive types by value and other types by object-sharing.

ZedLX uses call-by-value, making it more similar to C and C++. This approach is also more beginner-friendly than object-sharing.

Note that C and C++ have some additional complexities, but we'll keep the discussion simple for now.

Comparison of Popular Programming Languages by Argument Passing

Loading...