i had this same question and searching recent video on this. i took risk to click on this video as title not related to this question but in 3 second I kind of satisfied that this video will answer my question as well. let's watch...
Could you please explain the dollor sign ($) in dart.. I am a beginner & try to learn myself from youtube & webplatforms.Recently i saw the program for addition & subtraction 👇 Void main(){ int x =5; int y=4; print ('x+y=${x+y}); print('x-y=${x-y}); } What is the purpose of $ sign here.. Kindly reply🙏🏻
Dollar sign is for using variables inside a string. In this case, it will interpret $(x+y) as 9, aand print it out as such. Without dollar sign it would just print out (5+4) without doing the calculation.
@@simonhill6267 No, you'd use Swift (Apple's proprietary programming language for mobile development) for iOS development or a cross-platform tool like Flutter with Dart, React Native, Vue Native, or Svelte Native.
💻 (Discount Link) Dart Course I Recommend: bit.ly/45Ryjyy
Use Code for 10% OFF (FRIENDS10)
Dart is nothing but a c++ in front end dev....such a beautiful language
i had this same question and searching recent video on this. i took risk to click on this video as title not related to this question but in 3 second I kind of satisfied that this video will answer my question as well. let's watch...
answered my question very well. thanks.
Hey Dan! Where can I interact with you?
Could you please explain the dollor sign ($) in dart.. I am a beginner & try to learn myself from youtube & webplatforms.Recently i saw the program for addition & subtraction 👇
Void main(){
int x =5;
int y=4;
print ('x+y=${x+y});
print('x-y=${x-y});
}
What is the purpose of $ sign here.. Kindly reply🙏🏻
Dollar sign is for using variables inside a string. In this case, it will interpret $(x+y) as 9, aand print it out as such. Without dollar sign it would just print out (5+4) without doing the calculation.
@@damirkrancpiler2246 Ok. I understand now.. .Thank you 😊
String interpolation like in JS
Make one review of MIT full stack developer bootcamp and Meta backend developer
Meta back End will be soon. MIT full stack - good idea, will take a look. thx
Thank you
welcome!
The problem is that I don't see why anyone would choose it over Kotlin that has Compose Multiform.
can. you build iOS apps in kotlin?
@@simonhill6267 yes
@@simonhill6267 No, you'd use Swift (Apple's proprietary programming language for mobile development) for iOS development or a cross-platform tool like Flutter with Dart, React Native, Vue Native, or Svelte Native.
the reason is because nobody wants the bloated and messy android development eco system everywhere.
Круто!!