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

  • Home
  • SEARCH
  • 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 8884663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T21:06:55+00:00 2026-06-14T21:06:55+00:00

Quoting from this academic paper: Syntactic and Semantic Prediction in Dynamic Languages : IntelliSense

  • 0

Quoting from this academic paper: Syntactic and Semantic Prediction in Dynamic
Languages
:

IntelliSense is practically based on the knowledge of variables type.
Hence the symbols describing variables have to contain their type if
it’s known and if it could be resolved Moreover in dynamic languages
one variable can carry different type instance in different parts of
the code and in different program executions. Also the variable can
be initiated dynamically, and its type can be known only at runtime.
Therefore the symbol should contain some list of possible types
resolved within semantic analysis. But in general it cannot be
resolved definitely in dynamic languages
; even single program
execution won’t help.

Where can I find more resources on this, I am interested especially on the emphasized statements in the above block-quote, eventually some statistics on the rate of prediction on static analysis of code.

  • 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-14T21:06:57+00:00Added an answer on June 14, 2026 at 9:06 pm

    What this says is essentially the famous Turing incomputability result: in general, you can’t know the answer to what a computation does (or generates as a type).

    While this is true in general, it says nothing about specific circumstances. A little thought should convince you that if programmers didn’t have some idea what the type of some identifier was, they probably couldn’t write any code that used it. So the original coders know (unless they wrote buggy code). But they know by making assumptions about the rest of the system, and then enforcing those assumptions (often elsewhere).

    A static analyzer doesn’t know what assumptions the programmers made, so it can’t be as precise. But in many specific circumstances a static analysis can infer the type. The question is, how much of the code does it have, and can it interpret that code using the deep semantics that make the languages behind the code?

    I’m always bothered by the concept that “analyzers can’t be (as) good (as humans)”. If an analyzer has access to the same information the human has, it should be at least as good, and often better; it can keep track of interactions in ways people cannot. More importantly, if the static analyzer hasn’t got access to key assumptions behind your code, how can you expect other programmers to work on that code? What a proiri reason exists that insists they know all the background/assumptions used in some block of code?

    So I think much of the limitation of static analyzers, even applied to dynamic languages, is caused by our unwillingness or inability to write down the assumptions that we use when we write the code. (After that, there’s the problem of the energy to engineer a suitably strong analyzer).

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

Sidebar

Related Questions

I've been quoting this segment from Sun's document for the past few days, and
Quoting questions from http://www.garfieldtech.com/blog/put-up-with-put ( this is for the Drupal open source project, a
Quoting from this socket tutorial : Sockets come in two primary flavors. An active
Quoting from this blogpost: http://www.codesynthesis.com/~boris/blog/2008/10/13/writing-64-bit-safe-code/ This works because a valid memory index can only
Quoting from this nice article , The new view scope should solve exactly those
Quoting from the cakephp Book (ver 1.3): Note that only fields of the model
I saw this post on Sitepoint quoting a statement by Rasmus Lerdorf which goes
Quoting from the C-std section 6.7.2.1, struct s { int n; double d[]; };
quoting from The C++ Standard Library by N M Jousttis, Section 5.9 #include <
I am reading the dragon book. Quoting the text from the book (3.1.4 Lexical

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.