Why should blind programmers abandon python?

Source: Internet
Author: User

First of all, I learned pascal and C as early as I was in college. Actually, I am a python fans and now I am writing programs in python. I have also read the ruby syntax, but I have never handwritten the ruby program.
I have read an article covering blind programmers on the internet. Blind programmers say they can use C, perl, java, and ruby, but they cannot use python because they cannot see whether they have indented a few spaces.

Self-close function of control flow: pascal is implemented by begin... end; C is implemented.

In fact, python is not afraid of innovation. In the future, python can replace strict indentation with semicolons. indentation will still be used, but it is no longer necessary syntax.
A single statement uses '\ n' as the end mark of the statement. A semicolon cannot be used to represent the end mark of a single statement,
Because the semicolon is redefined as the control flow end flag.

Self-close function of control flow: python will be used in the future:...; implementation.
Import semicolon


If expression:
Statement
Elif:
Statement
Else:
Statement
; # Indicates end


For I in range (n ):
Statement
; # Indicates end


While expression:
Statement
; # Indicates end


Def function:
Statement
; # Indicates endfunction

Clase name:


Def funcation1:
Statement
;;


Def funcation2:
Statement
;;


; # Indicates the endclass

Finally, you need to develop the function of automatic formatting, like C lint.
The control flow self-close function enables python to easily implement ruby closures.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.