This site requires Cookies enabled in your browser for login.
Updating ...
WaterNet Home
WaterNet
for
pour le
Canada
Menu
WaterNet
Home
GWFO
Home
Catalogue
Master Index
Data
Centre
X
Find Data By Variable Find Data By Site, Facility, or Deployable Show Near-realtime Telemetry (7 day)
Collections
X
Defaults
Select All
Websites
X
Global Water Futures Observatories (GWFO) Global Water Futures (GWF) Global Institute for Water Security (GIWS) International Network of Alpine Research Catchment Hydrology
Legacy Research Programs
X
Changing Cold Regions Network (CCRN) Drought Research Initiative (DRI) International Network of Alpine Research Catchment Hydrology (Legacy Site) Improving Processes & Parameterization for Prediction in Cold Regions Hydrology (IP3) The Mackenzie Global Energy and Water Cycle Experiment (GEWEX) Study (MAGS)
Legacy sites
Map
Utilities
X
Account Settings Create a New Record Record List Alias List Editor
Edit Data Centre
Data Types
. . .
X
Clear
Select All
Advanced Search
Go to Top⇡
Related items loading ...
Fetching Chart ...
Publication Additional Information Download
Publication Type
Journal Article
Authorship
Saifullah, C. K., Asaduzzaman, M., & Roy, C. K.
Title
Exploring Type Inference Techniques of Dynamically Typed Languages
Year
2020
Publication Outlet
In 2020 IEEE 27th International Conference on Software Analysis, Evolution and Reengineering (SANER) (pp. 70-80). IEEE
DOI
https://doi.org/10.1109/SANER48275.2020.9054814
Citation
Saifullah, C. K., Asaduzzaman, M., & Roy, C. K. (2020). Exploring Type Inference Techniques of Dynamically Typed Languages. In 2020 IEEE 27th International Conference on Software Analysis, Evolution and Reengineering (SANER) (pp. 70-80). IEEE. https://doi.org/10.1109/SANER48275.2020.9054814
Abstract
Developers often prefer dynamically typed programming languages, such as JavaScript, because such languages do not require explicit type declarations. However, such a feature hinders software engineering tasks, such as code completion, type related bug fixes and so on. Deep learning-based techniques are proposed in the literature to infer the types of code elements in JavaScript snippets. These techniques are computationally expensive. While several type inference techniques have been developed to detect types in code snippets written in statically typed languages, it is not clear how effective those techniques are for inferring types in dynamically typed languages, such as JavaScript. In this paper, we investigate the type inference techniques of JavaScript to understand the above two issues further. While doing that we propose a new technique that considers the locally specific code tokens as the context to infer the types of code elements. The evaluation result shows that the proposed technique is 20-47% more accurate than the statically typed language-based techniques and 5–14 times faster than the deep learning techniques without sacrificing accuracy. Our analysis of sensitivity, overlapping of predicted types and the number of training examples justify the importance of our technique.
Program Affiliations
GWF: Global Water Futures
Publication Stage
Published
Download Links
https://doi.org/10.1109/SANER48275.2020.9054814
© 2026 - WaterNet Version 2026-08-10
Global Water Futures Observatories
Powered by
G W F Net
T-2022-12-05-p1RG20dYj90iGhQwp2QzxB4A Publication 1.0