Skip to content

Commit

Permalink
Create ExcessivelySpacingFuncCalls.pq.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ninmonkey authored Jun 4, 2024
1 parent 0073958 commit 94a89b7
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions What-Not-To-Do/ExcessivelySpacingFuncCalls.pq.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Whitespace between function calls and the name are allowed. Including newlines.
These are identical statements:

```ts
= DoStuff( args )
= DoStuff

( args )
```
Record lookups also allow whitespace

This is totally valid: ( Syntactically valid, not morally )

```ts
let
Func = () => [
user = [ Name = "bob" ]
]
in
Func


(

)[
user



]
```

0 comments on commit 94a89b7

Please sign in to comment.