57

Hello world in different programming language.

Comments
  • 7
    Brainfuck... Whoever made that, you're my new hero.
  • 5
    Love the whitespace...
  • 6
    The Python one is wrong, print("Hello, world!") Is correct
  • 3
    Malbolge would be nice to see
  • 2
    Apperently in openGL the hello world equivalent is rendering a teapot, here's a link for anyone interested:

    https://codemiles.com/c-opengl-exam...
  • 0
    They seem to have missed HQ9+...
  • 2
    Python is just

    print("hello world")

    What the heck
  • 1
    HTML...
  • 0
    @f03n1x teapot is more advanced, usually it's a triangle, and if you're feeling real fancy, a triangle with rgb coloured vertices
  • 2
    @DirtyBit oh right, it's what my lecturer taught us in our first lab and just quoting him. Was a fairly long lab but it was more to make sure everything was setup on our PCs.

    That class was so fun, we used JOGL, which was super outdated but the class projects we're fun to do, and the labs really helped.

    Was lucky to get a good lecturer, my friend did the class before and got the worst lecturer who would just read from a book and had lecturer slides of code screenshot'ed from his desktop.
  • 0
    @f03n1x I only finished first year so we haven't had any 3D yet, but I learned a bit of C++ and OpenGL until math came around and told me to gtfo
  • 1
    @DirtyBit ah right for openGL (called computer graphics) it's a second year computer science paper but a requirement for game programming which is a third year paper (another fun paper I might add lol), computer graphics had a bunch of math papers as a requirement. Was definitely tough to get into I had a shitty TA for algebra and discrete maths :/
  • 0
    @f03n1x I had discrete and calculus this year, next year is linear algebra and stats. I think there may be a 3D graphics module in 4th year but not entirely sure since the course is often changing
  • 0
    @DirtyBit my degree is a bit more focused on software engineering (that is unless I get accepted to switch to another, more practical degree)
  • 1
    The person who created this either didn't know python or likes overcomplicating things
  • 0
    @DirtyBit or Shakespearean?
  • 2
    I am ridiculously glad to see Brainfuck up there, because why the hell not.

    Also, based on the Smalltalk example, I am not terribly surprised by the Python example... based on my relatively limited knowledge of both Smalltalk and Python.

    Also, I tested the Python example on both Python2 and Python3. Results are weird. Why, Python.
Add Comment