Bug Tracker

Opened 10 years ago

Closed 10 years ago

#14160 closed feature (worksforme)

Function overloading

Reported by: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:

Description

Hello guys

You have many methods which tackes defferent parameters types and every time in code you do many checks to put parameters values to right variables. Here my proposition how to make code more clear https://github.com/redexp/js-fn-overloading and here example how method Jquery.fn.on can look with it https://github.com/redexp/js-fn-overloading/blob/master/examples/jquery-on.js

Change History (1)

comment:1 Changed 10 years ago by Rick Waldron

Resolution: worksforme
Status: newclosed

Interesting resource—thanks for sharing! Unfortunately, this is not a priority or an issue that is creating significant pain for developers.

Note: See TracTickets for help on using tickets.