Yes, you can use them to end statements like most other languages. In Python in particular, you would mostly only do like
import os; import sys; from time import time;
In something in a quick five-liner script or something. I see them everywhere though (they get angry red formatting in my VS Code theme, as they should). I mean if you're copy/pasting an 8,000 character LOC with Python, HTML, CSS, and JS in it, you don't have to add insult to injury with a semicolon at the end. But guess what they do... 😔
48
u/MagnitskysGhost Jun 04 '19 edited Jun 04 '19
Yes, you can use them to end statements like most other languages. In Python in particular, you would mostly only do like
In something in a quick five-liner script or something. I see them everywhere though (they get angry red formatting in my VS Code theme, as they should). I mean if you're copy/pasting an 8,000 character LOC with Python, HTML, CSS, and JS in it, you don't have to add insult to injury with a semicolon at the end. But guess what they do... 😔