Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wanted to make a web site in C, to show that i know what i am doing and I could be a potential good candidate, BUT, Am I ? or I am just another stupid on the internet?

if you open the link (hopefully) you'll see a small website which is entirely a C program.`

you can see the code of the webserver, does this shows skill or am I stupid?



Site is down?


Now it’s up..


I don't think you're an idiot per your title, however you made a web _server_ with pages embedded in C.

I think showing off a web server is the greater accomplishment. With that said, there are safer languages for this today vs. 20-30 years ago.

I would encourage you to at least extend your web server to pull HTML(CSS/JS) from a file system as well as implement at least a subset of W3C logging. In addition, implement a functional 404.


thanks!!! I appreciate your feedback, I just implemented loading html files, and i will do what you suggested. I know there are safer languages out there, but C is what sparks my interest and love in programming, like I woke up 6 am wanting to code in it....i just feel I should follow this instinct. C kinda force me to understand things better i think...


Nope


there is an extra </div> tag and escape clause should end with semicolon for html. so its "&lt;" not "&lt"

;)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: