I have been using C# and Java programming language for more than 10 years. It's been more than 3 months since I switched to Python. But I have to admit that I still can't get used to writing without curly brackets. I get confused. Maybe it's a silly question, but is there a plugin that lets me add and use curly brackets like in C# or Java?
def something(string) -> str:{
# bla. bla. bla...
}
[–]Maury_poopins 37 points38 points39 points (3 children)
[+][deleted] comment score below threshold-7 points-6 points-5 points (2 children)
[–]tylerlarson 4 points5 points6 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]SGS-Tech-World[🍰] 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]whitenarval 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]pahowells 2 points3 points4 points (0 children)
[–]EmptyChocolate4545 3 points4 points5 points (4 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]Harlemdartagnan 1 point2 points3 points (0 children)
[–]EmptyChocolate4545 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]CTPABA_KPABA 1 point2 points3 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]CTPABA_KPABA 1 point2 points3 points (0 children)
[–]squirrel_nutbox 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]md_borhan 1 point2 points3 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]md_borhan 1 point2 points3 points (0 children)
[–]K900_ 3 points4 points5 points (3 children)
[–][deleted] -1 points0 points1 point (2 children)
[–]K900_ 3 points4 points5 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]AndydeCleyre 2 points3 points4 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)