---
title: "Manh Do (@codart) | Hashnode"
description: "Programming. Read the latest articles by Manh Do on Hashnode."
url: "https://hashnode.com/@codart"
---

@codart

# Manh Do

@codart · Joined December 2020

Programming

## Comments

[This blog is a true gem. I see many advanced topics about JS here. Thank you!](https://hashnode.com/posts/uint8array-vs-dataview-choosing-the-right-buffer-view-in-javascript/66b3841d5c3bf151bb03782a/comment/66eaf1ce8f790467ee923991)

Comment · Article · Sep 18, 2024 · [Uint8Array vs DataView: Choosing the Right Buffer View in JavaScript](https://hashnode.com/posts/uint8array-vs-dataview-choosing-the-right-buffer-view-in-javascript/66b3841d5c3bf151bb03782a)

[CHI PUTERA Ah, I see. Thanks for clarifying. I'm also interested in this topic. Do you think we can do something like macro in typescript? Say I need to gather all file names in a given folder and make it be a union, something like: type AllFileName = FilesAsUnion<\`./path/to/folder\`> // emit: AllFileName = 'foo' | 'bar' | 'baz' | ... of course, I can write a script to watch the folder and emit generated type. But it looks not that good](https://hashnode.com/posts/learn-a-little-make-metaprogramming-possible-in-typescript-class/6172e1a50c5e175a1c614fae/comment/6172f7b70f452c1cd94f8ef0#reply-617369780c5e175a1c6158a7)

Reply · Article · Oct 23, 2021 · [Learn a little: Make metaprogramming possible in typescript class](https://hashnode.com/posts/learn-a-little-make-metaprogramming-possible-in-typescript-class/6172e1a50c5e175a1c614fae)

[I'm confusing. Where is the metaprogramming part?](https://hashnode.com/posts/learn-a-little-make-metaprogramming-possible-in-typescript-class/6172e1a50c5e175a1c614fae/comment/6172f7b70f452c1cd94f8ef0)

Comment · Article · Oct 22, 2021 · [Learn a little: Make metaprogramming possible in typescript class](https://hashnode.com/posts/learn-a-little-make-metaprogramming-possible-in-typescript-class/6172e1a50c5e175a1c614fae)

[I feel you. Learn to be a programer these days is really hard, especially for web development. I personally recommend you to take an online or offline course. The point is you have someone to answer to your questions. In addition, course give you the fundamental and in the end you will have a good sense of programming. When you have a strong foundation, you can confidently explore more and more. Without losing the direction. Good luck have fun](https://hashnode.com/posts/finding-it-difficult-to-write-a-code/614b4c24c790e72dddca689a/comment/614b601dc790e72dddca6a08)

Comment · Article · Sep 22, 2021 · [Finding it difficult to write a code](https://hashnode.com/posts/finding-it-difficult-to-write-a-code/614b4c24c790e72dddca689a)

[Great article. How can I import a package which only publish their code as esm without having to set type: "module" in my package.json?](https://hashnode.com/posts/why-you-should-avoid-commonjs-on-your-client-side-javascript/6140d977c5f31102b885d1d4/comment/61423cffb95e345575e9a40a)

Comment · Article · Sep 15, 2021 · [Why you should avoid CommonJs on your client-side javascript](https://hashnode.com/posts/why-you-should-avoid-commonjs-on-your-client-side-javascript/6140d977c5f31102b885d1d4)
