pythonmysqlserial-portrealbasic

What language is better for serial programming and working with MySQL database? Python? Realbasic?


I'm doing a project that is serial based and has to update a database when a barcode is being read. Which programming language has better tools for working with a MySQl database and Serial communication. I debating right now between python and realbasic.


Solution

  • Python is a general purpose language with tremendous community support and a "batteries-included" philosophy that leads to simple-designs that focus on the business problem at hand. It is a good choice for a wide variety of projects.

    The only reasons not to choose Python would be:

    1. You (or your team) have greater experience in another general purpose language with good library and community support.
    2. You have a particular problem that is handled best by a specialty language that was written with that sort of problem in mind.

    The only thing I know about RealBASIC is that I hadn't heard of it until now, so it's a lock that it doesn't have quite the community of Python. (Exhibit A: 60,000 Python questions on SO, only 49 RealBASIC questions.) And if it is a derivative of BASIC, it would be not be a specialty language.

    Python seems a clear choice here, unless it means learning a new language, and you are proficient with RealBASIC.