Browse Source

docs(intro): correct grammar

pull/1862/head
davhojt 2 years ago committed by Dav Hojt
parent
commit
8f002fdd1e
  1. 19
      subjects/mobile-dev/intro/README.md

19
subjects/mobile-dev/intro/README.md

@ -1,20 +1,18 @@
# Intro
## intro
### Instructions
Dart is a programming language designed for client development, such as for the web and mobile apps. It is developed by Google and can also be used to build server and desktop applications. Dart is an object-oriented, class-based, garbage-collected language with C-style syntax.
Dart is an object-oriented, class-based, garbage-collected language. Dart is primarily used for client development, like web and mobile apps. It can also be used to build server and desktop applications.
Dart (within Flutter framework) is used to develop cross platform applications for Android, iOS, Linux, macOS, Windows, Google Fuchsia, and the web from a single codebase.
Dart is the programming language of the [Flutter](https://flutter.dev) framework. Flutter is used to develop cross-platform applications for Android, iOS, web and desktop from a single codebase.
Let's start with standard programming language tradition, write your first `"Hello, world!"` in Dart.
### Instructions
Create a file named `intro.dart` with the following content and run it!
Let's start with the standard tradition for learning a new programming language; you're first `"Hello, world!"` with dart.
### Expected function
Create a `main` function which prints `"Hello, world!"`, followed by a new-line character.
```dart
void main() {
print("Hello, world!");
print("");
}
```
@ -23,5 +21,6 @@ void main() {
To run the program, execute a command:
```console
dart intro.dart
$ dart intro.dart
Hello, world!
```

Loading…
Cancel
Save