Live data from Hacker News

Crow – C++ Microframework for Web, inspired by Python Flask

github.com

1–10 of 65 posts

Re: Crow – C++ Microframework for Web, inspired by Python Flask

#2
This is going to sound overly critical and judgmental to many - but to me, I just don't understand how you can spend the time involved in developing an entire web framework, and don't have the time to write a couple paragraphs for a README on how to use it and what it's all about along with some examples. I'm not talking full documentation - I'm just talking a few sentences and an example or two. Why bother releasing it before then? Why let people unnecessarily struggle to use it? Maybe somebody posted it here before the author was ready (assuming they're different people).

Re: Crow – C++ Microframework for Web, inspired by Python Flask

#3

This is going to sound overly critical and judgmental to many - but to me, I just don't understand how you can spend the time involved in developing an entire web framework, and don't have the time to write a couple paragraphs for a README on how to use it and what it's all about along with some examples. I'm not talking full documentation - I'm just talking a few sentences and an example or two. Why bother releasing…

See example.cpp. Also the codebase is very small so not much documentation is necessary. Also I'm pretty sure it's more of an exercise than a framework that's intended to be actually used.

Re: Crow – C++ Microframework for Web, inspired by Python Flask

#4

This is going to sound overly critical and judgmental to many - but to me, I just don't understand how you can spend the time involved in developing an entire web framework, and don't have the time to write a couple paragraphs for a README on how to use it and what it's all about along with some examples. I'm not talking full documentation - I'm just talking a few sentences and an example or two. Why bother releasing…

See example.cpp. Also the codebase is very small so not much documentation is necessary. Also I'm pretty sure it's more of an exercise than a framework that's intended to be actually used.

And that line you wrote would be a perfect example of what to write.

I agree, I find this annoying.

Re: Crow – C++ Microframework for Web, inspired by Python Flask

#5

This is going to sound overly critical and judgmental to many - but to me, I just don't understand how you can spend the time involved in developing an entire web framework, and don't have the time to write a couple paragraphs for a README on how to use it and what it's all about along with some examples. I'm not talking full documentation - I'm just talking a few sentences and an example or two. Why bother releasing…

Different authors -- post and repo -- it would appear. But between the example.cpp and unittest.cpp, there is quite a bit there; if you're not familiar with Flaks, it is a very simple web "framework" that basically just provides request, routing, and response primitives. This library also includes a JSON lib, but Flask gets that from Python's batteries.

Also, Flask was created as a joke; it obviously took off; but there's something there about not taking it super super serious.

Re: Crow – C++ Microframework for Web, inspired by Python Flask

#7
post #6

I'm writer of this project and it's not completed yet. I planned to publish this after finishing basic features and documentations.

Look really nice! To make the people who will complain about no example in the readme, I would suggest you just copy the example.cpp file into the readme, that'll do until you have more time.

Re: Crow – C++ Microframework for Web, inspired by Python Flask

#9

This is going to sound overly critical and judgmental to many - but to me, I just don't understand how you can spend the time involved in developing an entire web framework, and don't have the time to write a couple paragraphs for a README on how to use it and what it's all about along with some examples. I'm not talking full documentation - I'm just talking a few sentences and an example or two. Why bother releasing…

Well the author did not submit this himself; I just stumbled on it and thought it looked cool. I think example.cpp gives you a pretty good idea for what it is about, but in retrospect I should have let him post it when he was ready.

Re: Crow – C++ Microframework for Web, inspired by Python Flask

#10
I like the technique to generate compile error when there is a mismatch between format string and actual argument list and type - This is what only statically typed language can do and dynamically typed languages like python can't do.

Maybe this technique could be applied in printf or other C++ APIs using format string.

Post reply on HN