Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
How bout Go?
Brackets, newline for statement separation, optional semicolons, static typing, compiles to native code, GC,... -
There was this blasphemy, luckily it's dead now: https://hackaday.com/2014/02/...
Same here: https://pypi.org/project/brackets/ -
Any proper editor warns when mixing tabs (or at least has an extension or a setting to show it) and spaces, and any proper editor has the ability to:
- Override the tab key to insert spaces.
- Convert between tab and spaces (or use Unix expand/unexpand). -
cb21910105y@sbiewald that would be great ... but I
- work with Windows and Linux at the same time, which has already given me once problems with tabs/spaces conversion somehow
- use a linux machine for my project, with editors without plug-ins and am not allowed to change anything whatsoever
... ππ€· -
cb21910105y@Jilano please no vim.π
I already have a hard time using the linux machine, as I'm more a GUI guy. Don't make me suffer even more...π -
@cb219 If you have hard drive space and memory, maybe PyCharm will help you?
It is an IDE from Jetbrains specifically for Python and includes other useful (besides the detection of spaces/tabs mix). -
cb21910105y@sbiewald I just try to do as much as possible with vs code and pylint on windows and then somehow put it on the linux machine.
The linux machine shall remain untouched.π
I know about PyCharm, but haven't had great experience with it in the past. -
cb21910105y@muttley well I'm used to it and never had problems except with python, so what? it's strange to me to write 4 spaces instead of a simple tabπ€·
-
hjk10156965y@muttley tabs are specificity designed to indent consistently. They can be displayed as wide as you like. Thankfully go standardized on it. Only thing spaces are good for are
##############
# blocks like this #
##############
(In mono space it aligns perfectly always)
Related Rants
There a times I love python for its quick way of writing things. But there are more times that python makes me angry or just frustrates me with its indentation logic.π€ͺ
When the indentation in my project lets the code either accidentally run a million times more or a tab/spaces inconsistency that no tool warns me about except runtime error.
What about a language that combines pythons easy way with brackets on top?πͺ I guess it already exists?π
For my project C++ would be a viable alternative, but so far the language seems very weird to write.
random
fuck python
indentation