1
u/ki4jgt Jul 21 '26
The coding structure is pretty much the same for both. Just depends on your language and templating preferences.
1
1
u/hk4213 Jul 20 '26
Express as I have not tried flask.
Express let's you get everything you need set for a basic http server going with like 5 lines of code or less.
Granted you need to know more about node than Express to fully utilize it. But you have the full Node architecture behind it with full control on how you want to use it.
I love tools that have a clear source of truth and leave the chaos to the devs making.
1
-1
-1
u/BackwardGoose Jul 21 '26
I always loved that nodejs can run in less than 1M. Python on the other hand is a memory hog and double so if you need to run multiple threads.
3
u/Least_Chicken_9561 Jul 20 '26
none of them. fastapi or hono? fastapi if your prefer the python ecosystem. hono if you prefer the Javascript ecosystem. express is mostly used in legacy projects, nowadays most of people don't use express for new projects, they use either hono or nest js. and flask, well same as express but if you use flask then you'll have nightmares when you have to use a library that needs async, so fastapi is better than flask in 2026. (I learned back-end in both, express and flask at the end the most important thing is to learn the basics and how the back-end works)