leachim6 / hello-world

Hello world in every computer language. Thanks to everyone who contributes to this, make sure to see contributing.md for contribution instructions!
http://github.com/leachim6/hello-world/wikis
MIT License
10.92k stars 1.91k forks source link

Why are there 20 seperate Python implmentations?! #1527

Open sancarn opened 10 months ago

sancarn commented 10 months ago

I understand that different implementations clearly look different, but in my opinion that doesn't belong in this repo, unless it's under a py folder for all python examples.

In a similar vein there are 3 C samples:

But then only 1 C++ sample:

Are we really expecting different implementations for every different way someone can possibly render "Hello world" onto the screen in their chosen language? If so we should probably make this clear in the readme / repo description.

sivakumar-mahalingam commented 8 months ago

Python Implementations:

Pygame, PyQt4, PyQt5, PySide2, PySimpleGUI, kivy, libavg, wxPython, tkinter are not separate implementations of Python, but rather libraries/frameworks. And Python has two major versions, Python 2 and Python 3.

HTTPpy, manim, flask, django, bottle, blender, fastapi, panther, cherrypy are frameworks built on top of Python for specific purposes like web development, GUI, etc.

C Implementations:

CGI, Pebble, C are not implementations of the C language, they are samples or projects written in the C language. C itself is a language, and there are no different "implementations" of C in the way Python has implementations like CPython, Jython, etc.

sancarn commented 8 months ago

are not separate implementations of Python, but rather libraries/frameworks

Not sure if this is a rebuttle? This actualyl hits the nail on the head of my point. If they were seperate implementations of >Python< (or the programming language itself) that would be okay. But they're different implementations using different libraries. That doesn't belong here, imo. There are millions of libraries out there, are we anticipating an implementation for all libraries of all languages?

In my opinion Hello-world this repo should be used for comparing how to do "hello world" programs in different languages. Thus we should have 1 implementation for each language, and they should be comparable implementations.

i.e.

etc. For what it's worth I think having implementations in Py2 and Py3 is at least acceptable

MrBrain295 commented 8 months ago

I think there needs to be qualifications for what can be accepted. I opened issue #1494 to discuss this.