Today I explored a new language: TypeScript Since I entered the tech world, I’ve constantly heard about TypeScript alongside JavaScript. Naturally, it felt like the next step in my learning journey. Here’s what I learned: TypeScript is a programming language which is a superset of JavaScript that adds static typing and other features to improve code quality. We can define data types and catch errors at compile time, before your code even runs. This helps in writing the cleaner and more structured code. Also, this helps in managing the larger projects. Since I already know JavaScript, learning TypeScript felt quite smooth. I was able to understand the basics in just a day. I have not built projects with typescript yet. Soon will start that too!! #typescript #javascript #webdevelopment #learninginpublic
Learning TypeScript as a JavaScript Developer
More Relevant Posts
-
Exploring JavaScript fundamentals! As part of my learning journey, I explored different ways to run JavaScript code in real-world environments. Understanding how and where your code executes is an important step for every developer. Here are 3 simple and commonly used ways to run JavaScript code: ✔️ Browser Console – great for quick testing and debugging ✔️ Node.js Terminal – useful for running JavaScript outside the browser ✔️ VS Code Terminal – efficient for development and project-based coding Each method has its own purpose, and learning all three helps build a strong foundation in JavaScript. #JavaScript #NodeJS #WebDevelopment #Coding #MERNStack #LearningJourney
To view or add a comment, sign in
-
-
Today I learnt basics TypeScript on a whim — and honestly, it feels like unlocking a cleaner, more structured way to write JavaScript. Coming from JavaScript, the idea of adding types seemed a bit unnecessary at first. But after spending some time with TypeScript, I can already see how powerful it is: Better code clarity Early error detection Improved developer experience It’s like giving your code a safety net while making it more scalable and maintainable. Still a beginner, but excited to keep exploring other stuff and building with it. If you’ve worked with TypeScript, I’d love to hear your tips or what helped you learn faster! #TypeScript #JavaScript #WebDevelopment #LearningJourney #Programming
To view or add a comment, sign in
-
-
Just wrapped up learning the fundamentals of TypeScript, and honestly—it’s changed how I think about writing JavaScript 🚀 At first, it felt like extra work 🤯 Adding types, fixing errors I didn’t “need” to fix… but once it clicked, it started saving me time instead of costing it. Here’s what stood out for me: Fewer bugs 🐛❌ → catching mistakes while coding instead of at runtime Better readability 📖 → my code explains itself more clearly Stronger confidence 💪 → refactoring doesn’t feel risky anymore Improved developer experience ⚡ → autocomplete + type hints are a game changer TypeScript doesn’t just make code “safer”—it makes you more intentional as a developer 🧠 Still learning, still building, but definitely glad I added this to my toolkit 🔧 #TypeScript #JavaScript #WebDevelopment #LearningInPublic #DeveloperJourney
To view or add a comment, sign in
-
-
Is TypeScript a separate language? I’m curious, how do you answer this question for yourself? In the meantime, I’ll share my opinion On one hand, TS exists exclusively within the JavaScript ecosystem. It follows ECMAScript standards, updates alongside them, and always compiles into JS regardless of what tool you use to compile your code But there is a counterargument, JS itself eventually turns into bytecode, just like any other programming language If we look at it very simply 🔸 TypeScript -> JavaScript -> ... -> Bytecode / machine code 🔹 JavaScript -> ... -> Bytecode / machine code And this is the same for any language. Does this extra step really change the status of the language? In my opinion, not really So why do I still believe it’s not a separate programming language? For me, the deciding factor is that TypeScript brings nothing new to the runtime Basically, we get typing for JS. TypeScript doesn’t have its own runtime, its own memory management, or its own optimization methods. It doesn't even have its own data structures, except for Enums, but they have a questionable reputation TypeScript is an incredible tool that fundamentally improves the development experience and takes JS to a new level. However, it is too closely tied to JavaScript and lacks enough unique features to be considered a separate programming language What do you think? Is TypeScript a full-fledged language or just a useful tool for JavaScript? #typescript #javascript #techthoughts
To view or add a comment, sign in
-
-
Day 01 of Learning TypeScript 🚀 Today I covered some core fundamentals of TypeScript, and it already feels like I’m writing cleaner and safer code. Here’s what I learned today 👇 🔹 1. Installation & Setup Installed TypeScript globally Created my first .ts file Used tsc to compile & run the code 🔹 2. Type Inference TypeScript can automatically detect types: let age = 20; // inferred as number This reduces boilerplate and prevents type errors. 🔹 3. Primitive Data Types number string boolean null undefined bigint symbol 🔹 4. Special Types any → flexible but unsafe unknown → safer than any void → used in function void clearly expresses that a function does something but returns nothing. never → for unreachable code 🔹 4. Why avoid any I also learned that any removes all type-checking. Basically, it turns TypeScript back into JavaScript. ❌ Avoid using any unless absolutely required. ✔ Prefer unknown for safer typing. Small takeaway: TypeScript gives structure and catches mistakes before you run the code. Even these basics already feel much more reliable than plain JS. #typescript #javascript #learninginpublic #webdevelopment #frontend
To view or add a comment, sign in
-
🚀 30 Days JavaScript Plan for Beginners 🚀 If you want to start learning JavaScript in a simple way, this 30-day plan can help you stay consistent and improve step by step. 📘✨ Start with basics like variables, data types, operators, and conditions. Then move to loops, functions, arrays, objects, DOM, async/await, APIs, and projects. 💻🔥 The best way to learn coding is: ✅ Learn a little every day ✅ Practice regularly ✅ Build small projects ✅ Keep improving day by day Small steps every day can create big progress. 💡 Consistency is more important than speed. #JavaScript #WebDevelopment #Coding #Programming #FrontendDevelopment #LearnToCode #100DaysOfCode #Developer #ReactJS #CareerGrowth 🚀💻✨
To view or add a comment, sign in
-
-
🚀 Day 980 of #1000DaysOfCode ✨ TypeScript Union Types Handling multiple possible data types in JavaScript can quickly get messy. In today’s post, I’ve explained TypeScript Union Types in a simple and practical way, so you can safely work with variables that can hold more than one type. Union types allow you to define multiple possible types for a variable — making your code more flexible while still being type-safe. I’ve also covered how to properly narrow types, so you can avoid errors and write predictable logic in real-world applications. This is one of the most commonly used features in TypeScript and is extremely useful when dealing with APIs or dynamic data. If you’re working with TypeScript, mastering union types will make your code much cleaner and safer. 👇 Do you use union types often, or do you still rely on `any` in some cases? #Day980 #learningoftheday #1000daysofcodingchallenge #FrontendDevelopment #WebDevelopment #JavaScript #TypeScript #CodingCommunity #Programming
To view or add a comment, sign in
-
𝗝𝗮 v𝗮𝗦𝗰𝗿𝗶𝗽𝗍 𝗧𝘂𝗧𝗼𝗿𝗶𝗮𝗹: 𝗗𝗶𝗰𝗲 𝗦𝗶𝗺𝘂𝗹𝗮𝗧𝗼𝗿 You want to learn JavaScript. You need a project to start with. - Learn the basics of JavaScript - Build a dice simulator - Practice your coding skills You can find the full tutorial here: Source: https://lnkd.in/gDy2vyC8
To view or add a comment, sign in
-
🚀 Building Strong Foundations in JavaScript 💻✨ ✨Continuing my journey of improving core JavaScript skills through hands-on coding 👇 🔹 Loops Practice ✅ Printed numbers from 1–50 using: • for loop • while loop • do...while loop 🔹 Logic Building ✅ Generated multiplication table dynamically using user input 🔹 Iteration Techniques ✅ Used for...of for arrays and for...in for objects 🔹 Functions Practice ✅ Built a function to check Prime or Non-Prime numbers ✅ Implemented a Callback Function to calculate square of a number ✅ Practiced IIFE (Immediately Invoked Function Expression) to print today’s date 💡 Key Learnings: • Better understanding of loops and iteration • Clear idea of callback & higher-order functions • Debugged a real issue with IIFE and semicolons 😄 📌 Step by step, improving logic and confidence in JavaScript! #JavaScript #CodingJourney #LearningByDoing #FrontendDeveloper #WebDevelopment #KeepGrowing 🚀
To view or add a comment, sign in
-
TypeScript's type system is the one I've enjoyed working with since day one. Not because it's the safest or the most strict. It's neither, actually. `any` breaks every guarantee, the compiler trusts your type assertions blindly, some rules it just doesn't enforce. But it lets me do something I haven't seen elsewhere: take a type, iterate over its keys, remap values, filter by condition, drop fields — all at the type level, before a single line runs. Less annotation, more like a query language for shapes. Most type systems tell you what things are. TypeScript also lets you express how one type becomes another. And it was built on top of JavaScript — a language where any value can be anything at runtime. The type system had to be flexible enough to describe that mess. Turns out, that's what made it powerful. The type system built for the messiest language ended up being the most interesting one to work with. What’s your favorite type-level trick in your language? #TypeScript #Programming #SoftwareEngineering #DeveloperExperience #JavaScript
To view or add a comment, sign in
-
Explore related topics
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development