42

Well... Looks like I managed to make a Webpage in C++...

...

I need a life...

webpage (self hosted, so I don't guarantee that it will always be online. however, the pages source code is on github): http://2.205.108.223/cgi-bin/...

github: github.com/wittmaxi/webcpp

Comments
  • 10
  • 6
    I am missing some docs to make this look a bit more professional... Dumping code on Github is fine, but it's useless without:

    - Description of what it is and what is the intended use
    - Description of how to build it
    - Description of how to run it
    - Description of possible limitations
    - Code style guide used

    It can be like a 50-line readme, but it's super important. That's how you can grab attention of people visiting. Bonus points for a picture.

    Otherwise, not even recruiters will look at the repo.
  • 4
    @piehole but what if this was built "4fun"
  • 2
    @piehole I am working on the readme right now, in fact!
  • 5
    @balte If you wanna say "I'm to lazy to do the littlest things" to the world, so be it.

    inb4 rants about "stupid recruiters not even looking at my glorious github code" and "The company didn't hire me despite having so much code on my github! Fucking economy/company/whatever-else-you-wanna-blame".

    As an interviewer, if I see a github project with no docs, it's a red flag for me. As a user of someone else's project, the same. If you do it just for yourself, do it to learn the good habits (and to remember what you've done and how in half a year).
  • 1
    @gnulinuxer4fun Cool ;)
  • 3
    @piehole Always interesting to look into a recruiters head!
  • 6
    @piehole no I just think it's kind of strange you set out these requirements for other people and write about it in such a condescending matter. strangely enough there is not a single encouragement in your critique.

    even if you're comments are meaningful overall, let's just say as an interviewee I wouldn't like to be interviewed by someone who won't bother to start on a positive note (:
  • 6
    @balte That's fair. In my defense, the negativity is in the eye of the beholder. All I said was meant as a matter-of-fact information (and not condescending at all, I'd be happy if someone told me that when I was starting out). However, it's still fair, and I'll be a bit more careful about the tone next time ;)
  • 3
    Fun fact: Creating a web page by something that runs under cgi-bin is a lot older than the JS riff-raff you have these days.

    Pages were build using C, C++ and most prominently Perl a lot longer than you think. ;-)

    But a direct scripting language like PHP is a lot more convenient and let's you look at some results faster, so that's what is used mainly today.

    The web interface to a an archive system my former employer sold since the mid 90s was made of Perl scripts using Modules written in C. ;-)

    Still in use by many clients and robust as hell! ^^
  • 2
    @Yamakuzure sure, cgi is old. BUUUTTTT

    I wrote a library that makes is not be as cumbersome.
  • 2
    I can't imagine the days people use to pipe strings of html
  • 0
    @GeaRSiX it is what happens with php for example
  • 1
    @gnulinuxer4fun what?
  • 1
    @gnulinuxer4fun Did you put it on cpan?
  • 0
  • 1
    @gnulinuxer4fun Never mind. Couldn't read your screenshot on my (tiny) phone. Misinterpreted it for Perl.

    ~(_8(|)
  • 0
Add Comment