SlideShare a Scribd company logo
Go home TypeScript, you're drunk!
TheoryTheory
https://www.typescriptlang.org
TSTS JSJS
const foo = (bar: string): number => {
return bar.length;
}
alert(foo('Hello world!') * 3); //36
var foo = function (bar) {
return bar.length;
};
alert(foo('Hello world!') * 3); //36
Pros and ConsPros and Cons
API communicationAPI communication
DebuggingDebugging
Better syntax promptingBetter syntax prompting
https://github.com/chmieludaniel/dev-duck-8/blob/api-responses/src/components/Sample.tsx
https://github.com/chmieludaniel/dev-duck-8/blob/api-responses/src/services/ApiResource.ts
Sample 1.Sample 1.
Go home TypeScript, you're drunk!
Go home TypeScript, you're drunk!
1.1.
Way more lines ofWay more lines of
codecode
https://github.com/chmieludaniel/dev-duck-8/blob/a-lot-of-code/src/services/ApiResource.ts
2.2.
Not all of JS libsNot all of JS libs
have typingshave typings
3.3.
Not all of typings areNot all of typings are
100% correct100% correct
Sample 2.Sample 2.
https://github.com/chmieludaniel/dev-duck-8/blob/chart-js/src/components/Sample.tsx
4.4.
Dynamic structuresDynamic structures
Sample 3.Sample 3.
https://github.com/chmieludaniel/dev-duck-8/blob/redux/src/components/Sample.tsx
Sample 4.Sample 4.
https://github.com/Lukasz-pluszczewski/perfect-immutable/blob/master/docs/EXAMPLES.md
Go home TypeScript, you're drunk!
ConclusionConclusion
1. TS gives you something
2. This something has its price
The end.The end.

More Related Content

PPTX
Learning Python - Week 2
Mindy McAdams
 
PDF
D vs OWKN Language at LLnagoya
N Masahiro
 
PPT
2to3
zubin71
 
PDF
The Impact of Systematic Edits in History Slicing
Institute of Science Tokyo
 
PDF
Java 8 - Lambdas and much more
Alin Pandichi
 
PPTX
C pythontalk
Nicholaus Jackson
 
PDF
COSCUP: Foreign Function Call in Julia
岳華 杜
 
PDF
FSB: TreeWalker - SECCON 2015 Online CTF
YOKARO-MON
 
Learning Python - Week 2
Mindy McAdams
 
D vs OWKN Language at LLnagoya
N Masahiro
 
2to3
zubin71
 
The Impact of Systematic Edits in History Slicing
Institute of Science Tokyo
 
Java 8 - Lambdas and much more
Alin Pandichi
 
C pythontalk
Nicholaus Jackson
 
COSCUP: Foreign Function Call in Julia
岳華 杜
 
FSB: TreeWalker - SECCON 2015 Online CTF
YOKARO-MON
 

What's hot (12)

PDF
Celebrating 30-th anniversary of the first C++ compiler: let's find bugs in it.
PVS-Studio
 
PDF
First session quiz
Keroles karam khalil
 
PDF
Haxe by sergei egorov
Sergei Egorov
 
PDF
OREO - Hack.lu CTF 2014
YOKARO-MON
 
PDF
Fl0ppy - CODEGATE 2016 CTF Preliminary
YOKARO-MON
 
PPTX
Fun with Raspberry PI (and Perl)
Andrew Shitov
 
ODP
Functional programming
Olivier Teytaud
 
PDF
Language-side Foreign Function Interfaces with NativeBoost
ESUG
 
PDF
Cppcheck
PVS-Studio
 
PDF
Learning Python for Raspberry Pi
anishgoel
 
PPTX
Introduction to .NET
Lorenzo Dematté
 
ODP
BOSC 2008 Biopython
tiago
 
Celebrating 30-th anniversary of the first C++ compiler: let's find bugs in it.
PVS-Studio
 
First session quiz
Keroles karam khalil
 
Haxe by sergei egorov
Sergei Egorov
 
OREO - Hack.lu CTF 2014
YOKARO-MON
 
Fl0ppy - CODEGATE 2016 CTF Preliminary
YOKARO-MON
 
Fun with Raspberry PI (and Perl)
Andrew Shitov
 
Functional programming
Olivier Teytaud
 
Language-side Foreign Function Interfaces with NativeBoost
ESUG
 
Cppcheck
PVS-Studio
 
Learning Python for Raspberry Pi
anishgoel
 
Introduction to .NET
Lorenzo Dematté
 
BOSC 2008 Biopython
tiago
 
Ad

Similar to Go home TypeScript, you're drunk! (20)

PDF
4Developers: Tomasz Ducin- JavaScript + Java = TypeScript
PROIDEA
 
PDF
Migrating Web SDK from JS to TS
Grigory Petrov
 
PDF
TypeScript: coding JavaScript without the pain
Sander Mak (@Sander_Mak)
 
PDF
Reasons to Use Typescript for Your Next Project Over Javascript.pdf
MobMaxime
 
PPTX
Type script - advanced usage and practices
Iwan van der Kleijn
 
PDF
Typescript For Beginners The Ultimate Guide Sufyan Bin Uzayr
baielldebove
 
PPTX
Ts. what and why
Pavlo Iatsiuk
 
PPTX
Typescript in 30mins
Udaya Kumar
 
PPTX
Getting started with typescript
C...L, NESPRESSO, WAFAASSURANCE, SOFRECOM ORANGE
 
PPTX
Rits Brown Bag - TypeScript
Right IT Services
 
PPTX
TypeScript - All you ever wanted to know - Tech Talk by Epic Labs
Alfonso Peletier
 
PDF
TypeScript introduction to scalable javascript application
Andrea Paciolla
 
PDF
Back to the Future with TypeScript
Aleš Najmann
 
PDF
Introduction to TypeScript
NexThoughts Technologies
 
PPTX
TypeScript . the JavaScript developer best friend!
Alessandro Giorgetti
 
PDF
TypeScipt - Get Started
Krishnanand Sivaraj
 
PDF
Introduction to typescript
Mario Alexandro Santini
 
PPTX
Typescript: Beginner to Advanced
Talentica Software
 
PDF
TypeScript Best Practices
felixbillon
 
PPTX
TypeScript
Oswald Campesato
 
4Developers: Tomasz Ducin- JavaScript + Java = TypeScript
PROIDEA
 
Migrating Web SDK from JS to TS
Grigory Petrov
 
TypeScript: coding JavaScript without the pain
Sander Mak (@Sander_Mak)
 
Reasons to Use Typescript for Your Next Project Over Javascript.pdf
MobMaxime
 
Type script - advanced usage and practices
Iwan van der Kleijn
 
Typescript For Beginners The Ultimate Guide Sufyan Bin Uzayr
baielldebove
 
Ts. what and why
Pavlo Iatsiuk
 
Typescript in 30mins
Udaya Kumar
 
Getting started with typescript
C...L, NESPRESSO, WAFAASSURANCE, SOFRECOM ORANGE
 
Rits Brown Bag - TypeScript
Right IT Services
 
TypeScript - All you ever wanted to know - Tech Talk by Epic Labs
Alfonso Peletier
 
TypeScript introduction to scalable javascript application
Andrea Paciolla
 
Back to the Future with TypeScript
Aleš Najmann
 
Introduction to TypeScript
NexThoughts Technologies
 
TypeScript . the JavaScript developer best friend!
Alessandro Giorgetti
 
TypeScipt - Get Started
Krishnanand Sivaraj
 
Introduction to typescript
Mario Alexandro Santini
 
Typescript: Beginner to Advanced
Talentica Software
 
TypeScript Best Practices
felixbillon
 
TypeScript
Oswald Campesato
 
Ad

More from Brainhub (20)

PDF
Czy jest alternatywa dla chmury?
Brainhub
 
PDF
Jak zostać Dev w DevOps? O zwiększaniu niezależności zespołów developerskich ...
Brainhub
 
PDF
AWS – jak rozpocząć przygodę z chmurą?
Brainhub
 
PDF
Konfiguracja GitLab CI/CD pipelines od podstaw
Brainhub
 
PDF
tRPC - czy to koniec GraphQL?
Brainhub
 
PDF
Solid.js - następca Reacta?
Brainhub
 
PDF
Struktury algebraiczne w JavaScripcie
Brainhub
 
PDF
WebAssembly - czy dzisiaj mi się to przyda do pracy?
Brainhub
 
PDF
Ewoluowanie neuronowych mózgów w JavaScript, wielowątkowo!
Brainhub
 
PDF
How I taught the messenger to tell lame jokes
Brainhub
 
PDF
The hunt of the unicorn, to capture productivity
Brainhub
 
PPTX
TDD in the wild
Brainhub
 
PDF
WebAssembly - kolejny buzzword, czy (r)ewolucja?
Brainhub
 
PDF
React performance
Brainhub
 
PDF
Introduction to RxJS
Brainhub
 
PDF
React Native in a nutshell
Brainhub
 
PDF
Ant Colony Optimization (Heuristic algorithms & Swarm intelligence)
Brainhub
 
PDF
Technologia, a Startup - Brainhub
Brainhub
 
PDF
Introduction to GraphQL
Brainhub
 
PDF
How should you React to Redux
Brainhub
 
Czy jest alternatywa dla chmury?
Brainhub
 
Jak zostać Dev w DevOps? O zwiększaniu niezależności zespołów developerskich ...
Brainhub
 
AWS – jak rozpocząć przygodę z chmurą?
Brainhub
 
Konfiguracja GitLab CI/CD pipelines od podstaw
Brainhub
 
tRPC - czy to koniec GraphQL?
Brainhub
 
Solid.js - następca Reacta?
Brainhub
 
Struktury algebraiczne w JavaScripcie
Brainhub
 
WebAssembly - czy dzisiaj mi się to przyda do pracy?
Brainhub
 
Ewoluowanie neuronowych mózgów w JavaScript, wielowątkowo!
Brainhub
 
How I taught the messenger to tell lame jokes
Brainhub
 
The hunt of the unicorn, to capture productivity
Brainhub
 
TDD in the wild
Brainhub
 
WebAssembly - kolejny buzzword, czy (r)ewolucja?
Brainhub
 
React performance
Brainhub
 
Introduction to RxJS
Brainhub
 
React Native in a nutshell
Brainhub
 
Ant Colony Optimization (Heuristic algorithms & Swarm intelligence)
Brainhub
 
Technologia, a Startup - Brainhub
Brainhub
 
Introduction to GraphQL
Brainhub
 
How should you React to Redux
Brainhub
 

Recently uploaded (20)

PPTX
GALILEO CRS SYSTEM | GALILEO TRAVEL SOFTWARE
philipnathen82
 
PPT
Why Reliable Server Maintenance Service in New York is Crucial for Your Business
Sam Vohra
 
PDF
10 posting ideas for community engagement with AI prompts
Pankaj Taneja
 
PPTX
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
PDF
Applitools Platform Pulse: What's New and What's Coming - July 2025
Applitools
 
PDF
An Experience-Based Look at AI Lead Generation Pricing, Features & B2B Results
Thomas albart
 
PPTX
TRAVEL APIs | WHITE LABEL TRAVEL API | TOP TRAVEL APIs
philipnathen82
 
PDF
Bandai Playdia The Book - David Glotz
BluePanther6
 
PDF
What to consider before purchasing Microsoft 365 Business Premium_PDF.pdf
Q-Advise
 
PDF
New Download MiniTool Partition Wizard Crack Latest Version 2025
imang66g
 
PPTX
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 
PDF
advancepresentationskillshdhdhhdhdhdhhfhf
jasmenrojas249
 
PPTX
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
PDF
Generating Union types w/ Static Analysis
K. Matthew Dupree
 
PPTX
Visualising Data with Scatterplots in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PDF
49784907924775488180_LRN2959_Data_Pump_23ai.pdf
Abilash868456
 
PDF
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
PDF
Exploring AI Agents in Process Industries
amoreira6
 
PDF
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
PPTX
ASSIGNMENT_1[1][1][1][1][1] (1) variables.pptx
kr2589474
 
GALILEO CRS SYSTEM | GALILEO TRAVEL SOFTWARE
philipnathen82
 
Why Reliable Server Maintenance Service in New York is Crucial for Your Business
Sam Vohra
 
10 posting ideas for community engagement with AI prompts
Pankaj Taneja
 
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
Applitools Platform Pulse: What's New and What's Coming - July 2025
Applitools
 
An Experience-Based Look at AI Lead Generation Pricing, Features & B2B Results
Thomas albart
 
TRAVEL APIs | WHITE LABEL TRAVEL API | TOP TRAVEL APIs
philipnathen82
 
Bandai Playdia The Book - David Glotz
BluePanther6
 
What to consider before purchasing Microsoft 365 Business Premium_PDF.pdf
Q-Advise
 
New Download MiniTool Partition Wizard Crack Latest Version 2025
imang66g
 
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 
advancepresentationskillshdhdhhdhdhdhhfhf
jasmenrojas249
 
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
Generating Union types w/ Static Analysis
K. Matthew Dupree
 
Visualising Data with Scatterplots in IBM SPSS Statistics.pptx
Version 1 Analytics
 
49784907924775488180_LRN2959_Data_Pump_23ai.pdf
Abilash868456
 
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
Exploring AI Agents in Process Industries
amoreira6
 
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
ASSIGNMENT_1[1][1][1][1][1] (1) variables.pptx
kr2589474
 

Go home TypeScript, you're drunk!