All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
29 lines
1.5 KiB
Markdown
29 lines
1.5 KiB
Markdown
---
|
|
title: "print(\"Hello, world!\") - Part 2"
|
|
date: 2020-09-24
|
|
draft: true
|
|
type: "post"
|
|
tags: ["Programming"]
|
|
---
|
|
|
|
|
|
*Originally posted on my [old blog](https://git.exozy.me/a/blog/src/branch/main/_posts/2020-09-24-print-hello-world-part-2.md)*
|
|
|
|
|
|
> *“The canonical, "Python is a great first language", elicited, "Python is a great last language!"”*
|
|
>
|
|
> *-- Noah Spurrier*
|
|
|
|
|
|
I think we can all agree that Python is a wonderful first language to learn, with easy, clean syntax, making it easy to learn, write, and read. (The last one is very important: code is usually written once, but read many times) But is it a great last language? Its huge abundance of modules and libraries for Python makes it really easy to cool programs that would take thousands of lines of code in other languages. You really can do anything with Python! But it won't be fast: when you need speed, Python simply can't compete.
|
|
|
|
<script src="https://emgithub.com/embed.js?target=https%3A%2F%2Fgithub.com%2FTa180m%2Fprint-Hello-World-%2Fblob%2Fmaster%2Ftest.py&style=hybrid&showBorder=on&showLineNumbers=on&showFileMeta=on"></script>
|
|
|
|
| Factor | Rating | Description |
|
|
| --- | --- | --- |
|
|
| Speed | 2 | One of Python's main drawbacks, PyPy is better but has its own flaw |
|
|
| Documentation | 3 | [docs.python.org](docs.python.org) is pretty good, there are also tons of other resources |
|
|
| General | 3 | Overall very good for a wide variety of applications, with only a few flaws |
|
|
|
|
|
|
I should be able to find some time to write up Part 3, Java, by next week.
|