---
title: "Ndagi Stanley (@stanmd) | Hashnode"
description: "Digerati | Tinkerer. Read the latest articles by Ndagi Stanley on Hashnode."
url: "https://hashnode.com/@stanmd"
---

@stanmd

# Ndagi Stanley

@stanmd · Nairobi, Nairobi County, Kenya · Joined May 2017

Digerati | Tinkerer

[Website](https://md.engineer/)

## Comments

[🥂Cheers to having a bigger YES. Keep up the writing streak. Clearly, your focus on writing is evident!!](https://hashnode.com/posts/what-it-means-to-be-focused-a-personal-story/60214c87281265375d642b55/comment/60222c2d281265375d643ade)

Comment · Article · Feb 9, 2021 · [What It Means to Be Focused: A Personal Story](https://hashnode.com/posts/what-it-means-to-be-focused-a-personal-story/60214c87281265375d642b55)

[Catalin Pit, I totally agree with your points. Sometime back, I wrote a series of DIY your own web presence and part of it is on getting a domain name.](https://hashnode.com/posts/why-you-need-a-personal-domain-for-your-developer-blog/6021163b636acc2a382313de/comment/602223ca7d860b3782e8ec39)

Comment · Article · Feb 9, 2021 · [Why You Need A Personal Domain For Your Developer Blog](https://hashnode.com/posts/why-you-need-a-personal-domain-for-your-developer-blog/6021163b636acc2a382313de)

[Good to know. I'm particularly curious of a great tool for JSON to Markdown conversion. Json2MD doesn't cut it for me hence using a tool that you write in MD and you can backup, quickly edit, and is accessible is a big one for me.](https://hashnode.com/posts/rummaging-through-the-plethora-of-writing-tools/5ec70fa8627c645c120ace1d/comment/5f17eba060b5d372e20d5993#reply-5f17ecd860b5d372e20d599b)

Reply · Article · Jul 22, 2020 · [Rummaging through the plethora of writing tools](https://hashnode.com/posts/rummaging-through-the-plethora-of-writing-tools/5ec70fa8627c645c120ace1d)

[Edidiong Asikpo Here you go: https://blog.techkln.org/a-custom-domain-name-on-your-site-and-version-control-or-diy-your-web-presence-4-ckct9iaoa003vx5s1ea21aups](https://hashnode.com/posts/3-diy-your-web-presence-or-free-domain-and-landing-page/5f136906a1826244e3d8331b/comment/5f137a4678ada344c2525eb1#reply-5f146f16d27eb64b689ddb59)

Reply · Article · Jul 19, 2020 · [3\. #DIY your web presence | Free domain & landing page](https://hashnode.com/posts/3-diy-your-web-presence-or-free-domain-and-landing-page/5f136906a1826244e3d8331b)

[My pleasure. 2 more to go](https://hashnode.com/posts/3-diy-your-web-presence-or-free-domain-and-landing-page/5f136906a1826244e3d8331b/comment/5f137a4678ada344c2525eb1#reply-5f137a6978ada344c2525eca)

Reply · Article · Jul 18, 2020 · [3\. #DIY your web presence | Free domain & landing page](https://hashnode.com/posts/3-diy-your-web-presence-or-free-domain-and-landing-page/5f136906a1826244e3d8331b)

[I would suggest: Netlify CSM Strapi ButterCMS Out of the three options in that list, I have only used the first one, Netlify CMS with Gatsby. The setup should be similar, I think. It gives you the options of (one) updating/ creating a markdown file and pushing to GitHub or (two) using an admin dashboard where you create/edit/delete the posts/pages that are in the background still markdown files.](https://hashnode.com/forums/thread/which-stack-to-use-for-blogging-site/comment/5ed6a283e6da1cf54d5e24bc)

Comment · Thread · Jun 2, 2020 · [Which stack to use for blogging site?](https://hashnode.com/forums/thread/which-stack-to-use-for-blogging-site)

[Thanks Joan for this post. Especially adding the bit about: when a PR cannot be automatically created 😀](https://hashnode.com/posts/guide-to-managing-security-vulnerabilities-in-your-dependencies-using-github/5ece51df123fdcb70b931552/comment/5ed116e4123fdcb70b933188)

Comment · Article · May 29, 2020 · [🔐🔐Guide to managing security vulnerabilities in your dependencies using Github 🔐🔐](https://hashnode.com/posts/guide-to-managing-security-vulnerabilities-in-your-dependencies-using-github/5ece51df123fdcb70b931552)

[Congrats Bankole Ahmed All the best in your new role. I couldn't find a way to DM you so here's some feedback: I would recommend breaking your content into paragraphs. That really aids your readers. Cheers.](https://hashnode.com/posts/how-i-got-my-first-remote-job-as-a-developer/5ec7d8d6627c645c120ad9db/comment/5ec7e256627c645c120ad9f8)

Comment · Article · May 22, 2020 · [How I Got My First Remote Job As A Developer](https://hashnode.com/posts/how-i-got-my-first-remote-job-as-a-developer/5ec7d8d6627c645c120ad9db)

[Questions from the chat (truncated to include questions and comments to the questions) Most were answered during the call. 14:01:51 EAT From Mark Ng'ang'a : We’re live. From Ho Slack : Please walk through the JS file for a second. From Stanley Ndagi : Ho Slack, please remember to ask Muchai to do that after she's concluded From Ryan Marvin : Please feel free to post any questions that come to mind here and Muchai will answer them at the Q&A at the end From Moffat : Question: I noticed in some places, the boolean operator “OR” is used as “ | “ and in other places “ || “. Do they have any difference? From joy warugu : what's the difference between types and interfaces and when do you choose one over the other From creez : +100 @ joy From Bonny Mwenda : How do you go about introducing typescript to an old code base? Eg, what are the best practices From Stanley Ndagi : Do you setup files and include @ the same time in the .tsconfig? Or does include disregard the files? From creez : I normally see people using custom types and others using interfaces…What is the difference and when should I use types over interfaces and vice verser. From Paul Kiplimo Morogo : is there a standard naming pattern for interfaces? I see a lot of them defined with prefix ‘I’ ie IUser, IResponse etc From Ho Slack : Yeah @ Bonny’s Question. Can I introduce Typescript in my react JS codebase without breaking other things? From Stanley Ndagi : Difference between .tsx and .ts file extensions? From Moffat : Does the compilation step affect the performance of TS compared to JS? From creez : Tax is when you have tsx in your code base ts is when you aint using jsx From Kelvin Chirchir : How do you handle a function that returns a Promise From Mo : Why not put the JS files in the same folders as the TS files? From Brian Odhiambo : @ stanley .tsx is syntax sugar. Typescript XML - Mostly for React not sure about Vue. …. .ts a typescript file From Lemayian : I understand that I can use ts-node to run typescript code directly, but I have not seen this being used in production. Does this mean that typescript is less performant than JS? Basically, why can’t I just run TypeScript straight on my web server without transpiling to JS? From joy warugu : the qn about type set user | null and ?... they aren't the same .. opro From Gilbert N : At what instance do we declare our own types using declare keyword. From joy warugu : optional ? means you whatever can be undefined..not null From joy warugu : so it would be the same as user | undefined From Lemayian : Interface vs Types: ducba.com/typescript-type-vs-interface/ From creez : Yeah Thanks @ josee From Paul Kiplimo Morogo : @ Lemayian TypeScript is simply a superset of JavaScript which allows us the advantages of a statically typed language during development but it still has to be transpiled to normal JS From zacharianjoroge : Can we say that interfaces allow polymorphism like in Java From david ngugi : Interfaces simply just describe the structure of say a class…it’s properties and methods From Austin Roy : There’s also a great cheat sheet for TS with React From Paul Kiplimo Morogo : Typescript is like a stubborn and hard-headed spouse but with minimal maintenance, JavaScript is the easygoing and fun partner who can drag your marriage through hell in the long run](https://hashnode.com/posts/developerish-initiatives-introduction-to-typescript-with-mercy-muchai-muchaimercy_/5ebbc47b03de6e9461e91864/comment/5ebbe98cb8066beb618b3062)

Comment · Article · May 13, 2020 · [DeveloperISH Initiatives: Introduction to Typescript, w/ Mercy Muchai @muchaimercy\_](https://hashnode.com/posts/developerish-initiatives-introduction-to-typescript-with-mercy-muchai-muchaimercy_/5ebbc47b03de6e9461e91864)

[Recently in the news, the .org registry was acquired by a private firm. You can read more on that here , here and here.](https://hashnode.com/posts/2-diy-your-web-presence-or-the-internet-and-domain-names/5ea42a660135fc417662eec9/comment/5eaca1e426e78ca711dfbb07)

Comment · Article · May 1, 2020 · [2\. #DIY your web presence | The internet and domain names](https://hashnode.com/posts/2-diy-your-web-presence-or-the-internet-and-domain-names/5ea42a660135fc417662eec9)
