Re: python spaces, I still don't get how it works.

@7
If you want sighted devs to take you seriously at all ever, your code needs to be indented anyway.  If you want to work as a programmer, your code will also need to be indented, because every company on the planet will refuse code that isn't.  Refusing indentation is literally grounds to fire you.

Whether Python requires indentation or not, you will still have to learn this skill if you ever want to code beyond blindy developer ghetto.  And the Python indentation style is what everyone uses even for non-Python, which is why Python made it part of the syntax.  Once you realize that and put the effort in, it's not really a big deal anymore.

But also, even as a blind person, I flinch back from code that's not indented.  Why?  because the screen reader will happily announce how many braces have been opened, since that always matches your indentation level.  And then, when you close them, if there's something weird with the indent you know that something must be weird with brace mismatching since (for example) functions always end at indent level 1 or 0, and if you're still at indent level 2 then oops you still need more braces.  The same holds for suddenly ending at an indent level that's too small.  If your code is complicated enough, counting the braces becomes more of a headache than just using indentation to always have it counted for you, and in the real world you're usually talking 3 or 4 levels of nesting minimum, much more if it's mathematical or algorithms stuff sometimes, and having to play fight to find the missing brace really sucks.

-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : thetechguy via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : ambro86 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : ambro86 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : ambro86 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : rory-games via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : thetechguy via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : rory-games via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Dragonlee via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Jaseoffire via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Jaseoffire via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Jaseoffire via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector

Reply via email to