Skip to content

Commit e7ed2e1

Browse files
committed
main
1 parent d934c54 commit e7ed2e1

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# What to Know when Learning a New Language
2+
3+
## File Types and Configuration Files
4+
5+
A language might use different extensions to identify the usage of the source.
6+
For example, powershell uses `.ps1` to identify a script and `.psm1` to identify a module file.
Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
# Overview
22

33
- Integrated with `.NET`
4-
Reuse almost any type in `.NET`.
4+
- Reuse almost any type in `.NET`.
55
- Dynamic typing
6-
Powershell adds extra attribute and properties on dotnet types to enhance experience.
6+
- Powershell adds extra attribute and properties on dotnet types to enhance experience.
77
- Case insensitive
8-
All language syntax, pattern syntax and even strings are case-insensitive.
9-
(There's exception for file system on non-Windows platform)
8+
- All language syntax, pattern syntax and even strings are case-insensitive. (There's exception for file system on non-Windows platform)
109
- Everything is object, more than plain text in shell.
11-
Powershell formats the object value as a table if the object is not a primitive type.
12-
For primitive type, `Tostring()` will be used instead.
10+
- Powershell formats the object value as a table if the object is not a primitive type. For primitive types, `Tostring()` will be used instead.
1311
- Always handle both array and singular object.
14-
A powershell cmdlet always accepts an array or an single object as input parameter.
15-
And returns the result as an array or an object too.
12+
- A powershell cmdlet always accepts an array or an single object as input parameter. And returns the result as an array or an object too.

0 commit comments

Comments
 (0)