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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T03:45:42+00:00 2026-06-08T03:45:42+00:00

One of the unique features of JavaScript is that ‘functions are objects and can

  • 0

One of the unique features of JavaScript is that ‘functions are objects and can be passed around like any objects’ [1].

When Mr. Eich began creating the language, why did he decide to do this? How is it advantageous compared to the usual OOP style in languages like Java? Did he have a precedent or was this a completely unique idea at the time?

  • 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-08T03:45:44+00:00Added an answer on June 8, 2026 at 3:45 am

    Certainly he did not invent it, first-class functions have existed since the ’60s.

    The power it gives you is to write so-called higher-class functions – functions that take other functions as arguments. This is the corner-stone of functional programming. For example, Array.map is a function that takes another function as input, allowing powerful constructions.

    Object-Oriented programming was developed later, and concentrates more on coupling/separating data and behaviour. This is often at the expense of easily reasoning about the code (both in the colloquial and mathematical senses). Many OO languages (Java, C#) are now adding in these elements of functional programming (i.e. lambdas).

    Consider the complexity of implementing Array.map, Array.reduce, Array.filter in a language like Java. Every time you want to use it, you have to create an instance of a special anonymous inner class just for the purpose of implementing the function required for the algorithm to call. In JavaScript functions are just objects like everything else, so you can just pass one in, leading to much more concise and natural syntax.

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

Sidebar

Related Questions

I give possibility to user to input strings with unique keys that represent one-line
I need to make a column unique in one of our database tables, and
There is one table , and I want the unique values of table column
I have two radio buttons each with a unique ID. When one is clicked,
I currently have two SQL commands. One retrieves a list of unique IDs from
One of the neat characteristics of UTF-8 is that if you compare two strings
One can say a type parameter T must have a specific supertype S_1: class
I'm designing a system to process plain text files, one of its features will
I need a javascript bookmarklet which can click on a button. The thing is,
I am trying to write the SQL that selects all products and available features

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.