Thread
:
To extend Function or not to extend Function
View Single Post
#
2
02-07-2016, 17:26
euhlmann
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 312
Re: To extend Function or not to extend Function
Why do you need to restrict "imposter" classes? I think your second code block has the best solution.
__________________
Creator of
SmartDashboard.js
, an extensible nodejs/webkit replacement for SmartDashboard
https://ligerbots.org
euhlmann
View Public Profile
Visit euhlmann's homepage!
Find all posts by euhlmann
Find CD-Media Photos by euhlmann
Find CD-Media Papers by euhlmann