Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Power Lifting Lever Belt
SkullVamp
Updated:
Saturday at 10:32 PM
Ad icon
port.lk Domain for sale
Lankan-Tech
Updated:
Saturday at 3:55 PM
Colombo
Kaduwela - Two Storey House for Sale
dilrasan
Updated:
Thursday at 2:23 PM
Ad icon
Wechat qr verification
Pawan2005
Updated:
Thursday at 1:28 AM
🚀 GOOGLE AI PRO 18 MONTHS ACTIVATION 🚀
sayuru bandara
Updated:
Wednesday at 5:34 PM
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
pragramming startup
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="HAneo" data-source="post: 26435953" data-attributes="member: 17432"><p>my_age - python resolve in runtime. so no just like you use var in javascript. unless you assign a value it resolves in runtime and has no IntelliSense support at the code level. there are pros and cons regarding runtime type binding but most languages implement it so experienced users can take advantage of them </p><p></p><p>int my_age - java this is simply an integer value. types cast at compile time. so code completion can work here. but I don't think it will automatically put </p><p>myValue(age) how auto-completion algorithms know which int value pick? </p><p>Consider following code snippet </p><p></p><p>[CODE=java]</p><p></p><p>int age = 15;</p><p>int age1 = 12;</p><p>String name = "abc";</p><p></p><p>void myValue(int my_age){</p><p> sout(my_age);</p><p>}</p><p></p><p>myValue()[/CODE]</p><p></p><p>now consider your statement </p><p></p><p>so in the above code sample what will the outcome? </p><p>myValue(age) or myValue(age1)?</p></blockquote><p></p>
[QUOTE="HAneo, post: 26435953, member: 17432"] my_age - python resolve in runtime. so no just like you use var in javascript. unless you assign a value it resolves in runtime and has no IntelliSense support at the code level. there are pros and cons regarding runtime type binding but most languages implement it so experienced users can take advantage of them int my_age - java this is simply an integer value. types cast at compile time. so code completion can work here. but I don't think it will automatically put myValue(age) how auto-completion algorithms know which int value pick? Consider following code snippet [CODE=java] int age = 15; int age1 = 12; String name = "abc"; void myValue(int my_age){ sout(my_age); } myValue()[/CODE] now consider your statement so in the above code sample what will the outcome? myValue(age) or myValue(age1)? [/QUOTE]
Insert quotes…
Verification
Payakata winadi keeyak tibeda?
Post reply
Top
Bottom