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 8791897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:54:21+00:00 2026-06-13T22:54:21+00:00

What are the fundamental differences between utilizing CoffeeScript extends vs. Backbone.js extend ? For

  • 0

What are the fundamental differences between utilizing CoffeeScript extends vs. Backbone.js extend?

For example, how is

class User extends Backbone.Model

different from

User = Backbone.Model.extend()
  • 1 1 Answer
  • 0 Views
  • 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. Editorial Team
    Editorial Team
    2026-06-13T22:54:22+00:00Added an answer on June 13, 2026 at 10:54 pm

    The two are intended to be equivalent. To quote the Backbone.js changelog:

    0.3.0: Backbone classes may now be seamlessly inherited by CoffeeScript classes.

    Both CoffeeScript’s Child extends Parent and Backbone’s Child = Parent.extend() do three important things:

    1. (Most important) They set Child.prototype to new ctor, where ctor is a function whose prototype is Parent.prototype. That establishes prototypal inheritance.
    2. They copy all of Parent‘s static properties onto Child.
    3. They set Child.__super__ = Parent. This is mainly to support CoffeeScript’s Ruby-like super keyword in Child‘s methods.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Could someone explain the fundamental difference between: define(['backbone'], function(Backbone) { MyModel = Backbone.Model.extend({ });
Scala Where can differences between a class and a type be observed in Scala
Can someone explain to me the fundamental differences between a Cocoa framework and a
From this wikipedia page: The fundamental difference between context-free grammars and parsing expression grammars
What are the fundamental differences between Java and C# in terms of inner/local/anonymous classes
What are the fundamental differences between queues and pipes in Python's multiprocessing package ?
Is there a fundamental difference between these statements select * from users where id
What is the fundamental difference between the two? On the server side on the
What are the similarities and differences in terms of the fundamental concepts and implementation
i'm missing something fundamental here. i have a very simple custom class that draws

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.