Skip to main content

Bug Tracker

Side navigation

#14160 closed feature (worksforme)

Opened July 20, 2013 07:52PM UTC

Closed July 20, 2013 09:22PM UTC

Function overloading

Reported by: redexp@ukr.net 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

Attachments (0)
Change History (1)

Changed July 20, 2013 09:22PM UTC by rwaldron comment:1

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.