Hire Our Expert Programmer & Technical Writer To Do Your Capstone Project
+1 vote
in Programming Languages & Algorithms by (user.guest)

1 Answer

0 votes
by (user.guest)
This will sometimes lead to reduced readability and can mean two different things in program. If the user is unfamiliar with the change or the operator overloading this will result in wrong usage and thereby a reduced understandability of the code.  User-defined operator overloading can harm the readability of a program if the user doesn't take into account differences in operands and possible confusion between the function of an operator. Consider if a user defined “&” to mean the logical AND statement in Boolean logic, this might lead someone to think it is an address.

Related questions

Welcome to CPENTalk.com

Disclaimer: Every user is solely responsible for anything that he/she posts or uploads on CPENTalk.