Click here to Skip to main content
14,357,666 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: okay. I ... really like TypeScript Pin
Sander Rossel14-Sep-19 2:54
professionalSander Rossel14-Sep-19 2:54 
GeneralRe: okay. I ... really like TypeScript Pin
Nathan Minier14-Sep-19 2:59
professionalNathan Minier14-Sep-19 2:59 
GeneralRe: okay. I ... really like TypeScript Pin
Sander Rossel14-Sep-19 3:02
professionalSander Rossel14-Sep-19 3:02 
GeneralRe: okay. I ... really like TypeScript Pin
Nathan Minier14-Sep-19 3:05
professionalNathan Minier14-Sep-19 3:05 
GeneralRe: okay. I ... really like TypeScript Pin
honey the codewitch14-Sep-19 3:38
memberhoney the codewitch14-Sep-19 3:38 
GeneralRe: okay. I ... really like TypeScript Pin
Nathan Minier14-Sep-19 4:03
professionalNathan Minier14-Sep-19 4:03 
GeneralRe: okay. I ... really like TypeScript Pin
honey the codewitch14-Sep-19 4:05
memberhoney the codewitch14-Sep-19 4:05 
GeneralRe: okay. I ... really like TypeScript Pin
Nathan Minier14-Sep-19 4:16
professionalNathan Minier14-Sep-19 4:16 
honey the codewitch wrote:
Well I can think of one reason in this case - type checking,


Type safety is a compilation-level feature, as any bad cast will tell you very quickly. It has exactly zero impact on well-behaved code, it's just a development tool.

Coding against JS means handling type cases at runtime, which is the proper way to approach a duck type language.

I would argue that by trying to make the language look like something that it is not, TypeScript encourages bad code practices.
"Never attribute to malice that which can be explained by stupidity."
- Hanlon's Razor

GeneralRe: okay. I ... really like TypeScript Pin
honey the codewitch14-Sep-19 4:18
memberhoney the codewitch14-Sep-19 4:18 
GeneralRe: okay. I ... really like TypeScript Pin
honey the codewitch14-Sep-19 2:43
memberhoney the codewitch14-Sep-19 2:43 
GeneralRe: okay. I ... really like TypeScript Pin
Sander Rossel14-Sep-19 2:52
professionalSander Rossel14-Sep-19 2:52 
GeneralRe: okay. I ... really like TypeScript Pin
honey the codewitch14-Sep-19 2:53
memberhoney the codewitch14-Sep-19 2:53 
GeneralRe: okay. I ... really like TypeScript Pin
Sander Rossel14-Sep-19 3:00
professionalSander Rossel14-Sep-19 3:00 
GeneralRe: okay. I ... really like TypeScript Pin
honey the codewitch14-Sep-19 3:06
memberhoney the codewitch14-Sep-19 3:06 
GeneralRe: okay. I ... really like TypeScript Pin
Sander Rossel14-Sep-19 3:22
professionalSander Rossel14-Sep-19 3:22 
GeneralRe: okay. I ... really like TypeScript Pin
honey the codewitch14-Sep-19 3:28
memberhoney the codewitch14-Sep-19 3:28 
GeneralRe: okay. I ... really like TypeScript Pin
Sander Rossel14-Sep-19 6:08
professionalSander Rossel14-Sep-19 6:08 
GeneralRe: okay. I ... really like TypeScript Pin
honey the codewitch14-Sep-19 6:10
memberhoney the codewitch14-Sep-19 6:10 
GeneralDo you still have the ugliest function you've ever written? Pin
honey the codewitch13-Sep-19 9:20
memberhoney the codewitch13-Sep-19 9:20 
JokeRe: Do you still have the ugliest function you've ever written? Pin
W Balboos13-Sep-19 9:54
mveW Balboos13-Sep-19 9:54 
GeneralRe: Do you still have the ugliest function you've ever written? Pin
honey the codewitch13-Sep-19 9:55
memberhoney the codewitch13-Sep-19 9:55 
GeneralRe: Do you still have the ugliest function you've ever written? Pin
MarkTJohnson13-Sep-19 10:09
professionalMarkTJohnson13-Sep-19 10:09 
GeneralRe: Do you still have the ugliest function you've ever written? Pin
honey the codewitch13-Sep-19 10:10
memberhoney the codewitch13-Sep-19 10:10 
GeneralRe: Do you still have the ugliest function you've ever written? Pin
David O'Neil13-Sep-19 10:12
professionalDavid O'Neil13-Sep-19 10:12 
GeneralRe: Do you still have the ugliest function you've ever written? Pin
honey the codewitch13-Sep-19 10:14
memberhoney the codewitch13-Sep-19 10:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.