Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 93469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T23:20:57+00:00 2026-05-10T23:20:57+00:00

Anyone who has programmed with actionscript 3.0 has most certainly noticed its lack of

  • 0

Anyone who has programmed with actionscript 3.0 has most certainly noticed its lack of support for private constructors and abstract classes. There are ways to work around these flaws, like throwing errors from methods which should be abstract, but these work arounds are annoying and not very elegant. (Throwing an error from a method that should be abstract is a run-time check, not compile-time, which can lead to a lot of frustration).

I know actionscript 3.0 follows the current ECMAscript standard and this is the reason for its lack of private constructors, but what about abstract classes, are they not in the ECMAscript standard eather?

I guess the more specific question is why does ECMAscript standard not support private constructors? Is it something that can be look forward to in the future?

I have been wondering this for quit sometime, any insight will be much appreciated.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T23:20:58+00:00Added an answer on May 10, 2026 at 11:20 pm

    private constructors and abstract classes are not ‘good OOP elements’. they’re nice hacks originated in C++. in more dynamic languages they’re usually not needed.

    abstract classes in particular are totally unneeded, since you don’t have to declare the interface in the ancestor to comply with an interface. in fact, you don’t even have to inherit from a common ancestor to use some polymorphism.

    i’m not saying that AS is better without something like that; rather that you should think in the language you’re using, not trying to translate from whatever you’re used to.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anyone who has used three.js tell me if its possible to detect webgl
Anyone who has tried to implement RoutedCommands in WPF using M-V-VM has undoubtedly run
Is there anyone who has used or looked into using Jitterbit as well as
Is there anyone who has already tried to use the Microsoft Bing translator web
This would be a question for anyone who has code in the App_Code folder
This is a question for anyone who has the pleasure to work in both
I want to trial Windows 7 but wondered if anyone who has done so
Not really a question but I'm looking for comments/suggestions from anyone who has experiences
I've done my SO and Google research, and haven't found anyone who has tackled
I was wondering if anyone who has had experience using the Jquery Nivo Slider

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.