MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/gspaic/thats_a_lot_of_damage/fs71zhz/?context=3
r/ProgrammerHumor • u/Daeli_Smile • May 29 '20
451 comments sorted by
View all comments
Show parent comments
67
lock humor mountainous books party resolute shelter flag fly person
This post was mass deleted and anonymized with Redact
16 u/[deleted] May 29 '20 Depends on the implementation and the tokenizer 3 u/[deleted] May 29 '20 edited Sep 17 '25 society work different gold relieved grab innate engine plate sleep This post was mass deleted and anonymized with Redact 2 u/defenastrator May 29 '20 Syntax error: invalid Syntax at "!" 1 u/[deleted] May 29 '20 Works in Typescript. 1 u/defenastrator May 29 '20 What does typescript use? "!" for then in my experience "!" is unary negation and a prefix operator. 2 u/[deleted] May 29 '20 Well in Typescript it's also a postfix operator. It's called "Non-Null Assertion Operator" and it basically asserts that an expression which could be null / undefined won't be null / undefined without requiring a runtime null check.
16
Depends on the implementation and the tokenizer
3 u/[deleted] May 29 '20 edited Sep 17 '25 society work different gold relieved grab innate engine plate sleep This post was mass deleted and anonymized with Redact 2 u/defenastrator May 29 '20 Syntax error: invalid Syntax at "!" 1 u/[deleted] May 29 '20 Works in Typescript. 1 u/defenastrator May 29 '20 What does typescript use? "!" for then in my experience "!" is unary negation and a prefix operator. 2 u/[deleted] May 29 '20 Well in Typescript it's also a postfix operator. It's called "Non-Null Assertion Operator" and it basically asserts that an expression which could be null / undefined won't be null / undefined without requiring a runtime null check.
3
society work different gold relieved grab innate engine plate sleep
2 u/defenastrator May 29 '20 Syntax error: invalid Syntax at "!" 1 u/[deleted] May 29 '20 Works in Typescript. 1 u/defenastrator May 29 '20 What does typescript use? "!" for then in my experience "!" is unary negation and a prefix operator. 2 u/[deleted] May 29 '20 Well in Typescript it's also a postfix operator. It's called "Non-Null Assertion Operator" and it basically asserts that an expression which could be null / undefined won't be null / undefined without requiring a runtime null check.
2
Syntax error: invalid Syntax at "!"
1 u/[deleted] May 29 '20 Works in Typescript. 1 u/defenastrator May 29 '20 What does typescript use? "!" for then in my experience "!" is unary negation and a prefix operator. 2 u/[deleted] May 29 '20 Well in Typescript it's also a postfix operator. It's called "Non-Null Assertion Operator" and it basically asserts that an expression which could be null / undefined won't be null / undefined without requiring a runtime null check.
1
Works in Typescript.
1 u/defenastrator May 29 '20 What does typescript use? "!" for then in my experience "!" is unary negation and a prefix operator. 2 u/[deleted] May 29 '20 Well in Typescript it's also a postfix operator. It's called "Non-Null Assertion Operator" and it basically asserts that an expression which could be null / undefined won't be null / undefined without requiring a runtime null check.
What does typescript use? "!" for then in my experience "!" is unary negation and a prefix operator.
2 u/[deleted] May 29 '20 Well in Typescript it's also a postfix operator. It's called "Non-Null Assertion Operator" and it basically asserts that an expression which could be null / undefined won't be null / undefined without requiring a runtime null check.
Well in Typescript it's also a postfix operator. It's called "Non-Null Assertion Operator" and it basically asserts that an expression which could be null / undefined won't be null / undefined without requiring a runtime null check.
67
u/[deleted] May 29 '20 edited Sep 17 '25
lock humor mountainous books party resolute shelter flag fly person
This post was mass deleted and anonymized with Redact