The forced indentation of code
>>3
``reduce'' have been in LISPs before Microsoft was even created.
Frozensets are immutable sets in Python.
>>4
Oh damn, busted. I must have been thinking of "accumulate".
They really don't have that? Does it at least have immutable map literals?
>>2
There is nothing wrong with forced indentation. A good programmer shall indent their code regardless. A bad programmer will make everything look like shit so forced indentation makes his good usable to others besides himself.
> no do-while statement
There already is while. A do-while construct is redundant.
>>8
Both for and named let subsume while, to boot.
Reason#381: [i]inconsistency and lack of abstraction for array declarations[/i] https://docs.python.org/2/faq/programming.html#how-do-i-create-a-multidimensional-list
PYTHON IS SHIET https://github.com/satwikkansal/wtfpython
>>7
Yes but they'll indent it in a specific way, while the compiler won't compile if someone uses the "wrong" whitespace.
>>13
They'll indent it in a shitty, inconsistent way, because they're a bad developer, and the compiler will force them to not do that.
> it's possible to create everything with this powerful language!
ok, how do i create a multithreaded program using a runtime with no global interpreter lock?
it would be nice if the variables used had enforced static typing too
>>14
It's really annoying when I have to change scope and need to manually delete X spaces from each line for a specific block, if I had braces I could just add or remove them.
{
@prefix dbr: <http://dbpedia.org/resource/>.
<#op> a dbr:Faggot_%28slang%29 .
}
>>18
Use a better text editor than notepad. Seriously.
Select line range and tab or shift-tab to change indentation in notepad++, visual studio, vscode, probably most other windows software. << and >> in vim.
I wouldn't say Python is shit.
It's a Language that has it's Ups and Downs. The same applies to all Languages. No Language is perfect.
I myself hate Python due to it's Syntax, how it handles Whitespace and the fact that it's an over-rated Language.
it's a programmign language. It's quite trash but there are worse. it works fine if you want to do something quickly, and has a great net scraping library.
much better for taping things together than php
it breaks everything whenever you actually have to do something important on a non-debian based distro
Python is a great scripting language, you don't need everything to have fun.
I can write a simple script with command-line arguments to read an Excel file, dump JSON, parse everything, talk to a database, in a few lines of code.
Add PIP and venv, and you have a brain orgasm for your daily tasks. No language is perfect.
It's one of the best languages out there, simple and elegant. Just don't use it for heavy lifting tasks, use C++ or something else for those. Python performance isn't the best.
Golang promised me "something in between python and C++", but it's so inbetween it doesn't cover either niche well. It's not as easy to write in as python, it's a somewhat awkward language. And it's more limited than C++, you can't remove the garbage collection out of it.