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

2020-05-17 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: python spaces, I still don't get how it works. @30Investment banks are about investment banking, by which I mean that you have confirmed a rumor/story/etc that I have heard from many directions over the years, namely that investment banking doesn't actually have cool tech because

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

2020-05-17 Thread AudioGames . net Forum — Developers room : Dragonlee via Audiogames-reflector
Re: python spaces, I still don't get how it works. @29 Yeah, I was really shocked by how little regard for having neatly styled code, commits, repos, and so on my work had in general. To be honest, the way it sometimes feels like is that we are playing at being a tech company, basically

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

2020-05-17 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: python spaces, I still don't get how it works. @27It sounds like your work is somewhat exceptional in that they allow for bad coding practices.  My work is not nearly so lenient with respect to style, and I'm surprised to hear that an investment bank wouldn't be strict on this stuff

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

2020-05-17 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
Re: python spaces, I still don't get how it works. hi,@24, as someone who contributed to SoLoud, PyInstaller, etc, this is true everywhere.people tell you to do that with the style in mind (this is why projects make a contributing.md file in GitHub).also the line ending is important (I

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

2020-05-17 Thread AudioGames . net Forum — Developers room : Dragonlee via Audiogames-reflector
Re: python spaces, I still don't get how it works. I work at an investment bank on large codebases and it is true you cant just mash the autoformat button on files you are altering for a feature, because it might possibly reformat the whole file and the diff will be a huge mess to figre

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

2020-05-16 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: python spaces, I still don't get how it works. @!25Through a very significant amount of manual pain where you do git diff or whatever and find the parts that are just indentation/whatever and figure out how to reformat them so they don't show up in the diff when you pass it off

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

2020-05-16 Thread AudioGames . net Forum — Developers room : Dark Eagle via Audiogames-reflector
Re: python spaces, I still don't get how it works. Thanks for explaining. currently, since I mostly create programs for learning purposes, I do try to at least make sure that I can do the indentation as correctly as possible, (Or what I think it to be correct,) and I think that asking

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

2020-05-16 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: python spaces, I still don't get how it works. @22I'm saying be ready for your editor to fail you in a big way, and work on understanding why indentation and other parts of style exist.  You should definitely use your editor when possible, but your editor is going to screw things up

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

2020-05-16 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
Re: python spaces, I still don't get how it works. hi,beside the indentation, you need to be careful with variable naming (many of the companies don't use underlines at all, python classes are different as the operators require that), or in C++ they may prefix members with m_ or pointers

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

2020-05-16 Thread AudioGames . net Forum — Developers room : Dark Eagle via Audiogames-reflector
Re: python spaces, I still don't get how it works. @Camlorn:So what you are saying that we should not rely on our editors for indentations and such, and we should do the formatting by hand?Sorry if I sound confused, when the thread gets so detailed, I tend to lose what everyone is trying

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

2020-05-15 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: python spaces, I still don't get how it works. The issue is that you've not worked on a large enough codebase.  Your tricks for this work only when you're starting new files/modules/etc.  It's not so much about team size--this can come up with just 2 people even--but about whether

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

2020-05-14 Thread AudioGames . net Forum — Developers room : Jaseoffire via Audiogames-reflector
Re: python spaces, I still don't get how it works. I will appreciate that my only team experience has been with either a large enough team where I was dealing with something out of the way of the rest of the team, or a small enough team where this sort of thing was not a real concern

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

2020-05-14 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: python spaces, I still don't get how it works. I mean: one true brace vs not one true brace is whatever.  That's not my point.  But I don't particularly think you're going to get my point until later.You can't actually come back and format after the fact in real world situations.  You

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

2020-05-14 Thread AudioGames . net Forum — Developers room : Jaseoffire via Audiogames-reflector
Re: python spaces, I still don't get how it works. @17 The example you give there isn't a particularly good one as that sort of thing has mechanical issues as well. To introduce a variable part way through like that could end up screwing you over in the long run. All bets are off if you're

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

2020-05-14 Thread AudioGames . net Forum — Developers room : Jaseoffire via Audiogames-reflector
Re: python spaces, I still don't get how it works. @17 The example you give there isn't a particularly good one as that sort of thing has mechanical issues as well. To introduce a variable part way through like that could end up screwing you over in the long run. All bets are off if you're

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

2020-05-14 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: python spaces, I still don't get how it works. Again, let me reiterate, after college style is *not* optional anymore.  If you think you have bad style, you need to fix this.Sighted programmers are different from us.  I don't think most blind programmers get that, not right away

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

2020-05-14 Thread AudioGames . net Forum — Developers room : Jaseoffire via Audiogames-reflector
Re: python spaces, I still don't get how it works. Hmm. To be fair, I do agree with 7 as I also tend to prefer brace-based blocks. That being said, I've gotten used to indent since, as has been stated, most other programmers tend to prefer that style of formatting. That being said, I'm

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

2020-05-14 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: python spaces, I still don't get how it works. @14You can bind toggling indentation to a custom gesture with NVDA.  I forget the exact procedure but mine is NVDA+i and I don't even have to open the dialogs.Lisps are indeed problematic.  The only good solution I know of is Emacspeak

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

2020-05-14 Thread AudioGames . net Forum — Developers room : Dragonlee via Audiogames-reflector
Re: python spaces, I still don't get how it works. I can understand how a blind since birth person might at first have trouble conceptualizing indentation but once you understand the point of it, there shouldnt be any problem adhering to it.for any languages that delimit code blocks using

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

2020-05-13 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: python spaces, I still don't get how it works. @12Sadly not in the real world, no.  You're right that it solves it for your personal projects but it doesn't solve it in a professional context in which you have to adhere to the standards of the project.  If you don't believe me I can

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

2020-05-13 Thread AudioGames . net Forum — Developers room : rory-games via Audiogames-reflector
Re: python spaces, I still don't get how it works. actually that makes sense. But here's the thing, if I write any code, I'll just put it into my private code editor, click indent with python or pb or c, those are the ones supported for now and voila. All done. URL: https

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

2020-05-13 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
Re: python spaces, I still don't get how it works. @10, I've suffered that too. Even with indenting it can gt tricky to figure out just where you went wrong. But its easier with screen readers being able to announce indentation. URL: https://forum.audiogames.net/post/529008/#p529008

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

2020-05-13 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: python spaces, I still don't get how it works. @7If 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

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

2020-05-13 Thread AudioGames . net Forum — Developers room : thetechguy via Audiogames-reflector
Re: python spaces, I still don't get how it works. @2. thanks for that. I understand it now. I love how the NP plus plus addon tells you that. saves me the headake. URL: https://forum.audiogames.net/post/528904/#p528904 -- Audiogames-reflector mailing list Audiogames-reflector

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

2020-05-13 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: python spaces, I still don't get how it works. Why do I have to type end every time I want to finish an if statement or a procedure. Honestly, I would lean towards pure basic, but I just can’t handle that. Give me my  indentation right now! If you can’t tell, that was a joke. Also

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

2020-05-13 Thread AudioGames . net Forum — Developers room : rory-games via Audiogames-reflector
Re: python spaces, I still don't get how it works. I don't see the point of indentation. Why can't I use my precious curly braces? Honestly, I would probably leanr python but for the stupid indents. Gimme curly braces now now now! URL: https://forum.audiogames.net/post/528807/#p528807

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

2020-05-12 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: python spaces, I still don't get how it works. Yeah. I've seen blind people do that too; it's kind of painful once you build up the necessary reflex to deal with 4 spaces. URL: https://forum.audiogames.net/post/528607/#p528607 -- Audiogames-reflector mailing list Audiogames

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

2020-05-12 Thread AudioGames . net Forum — Developers room : ambro86 via Audiogames-reflector
Re: python spaces, I still don't get how it works. Thanks Camlorn for the black hint, I didn't know that.No he used one space, for first level, and 2 spaces for the second, ecc. For example :def play(sound_name, channel, wait): sound_object=pygame.mixer.Sound(sound_name

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

2020-05-12 Thread AudioGames . net Forum — Developers room : ambro86 via Audiogames-reflector
Re: python spaces, I still don't get how it works. Thanks Camlorn for the black hint, I didn't know that.No he used one space, for first level, and 2 spaces for the second, ecc. For example :def play(sound_name, channel, wait): sound_object=pygame.mixer.Sound(sound_name

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

2020-05-12 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: python spaces, I still don't get how it works. @3Let me guess, tabs?tabs might be easier to learn with, but nothing anywhere uses them.If you want to take terribly formatted but working code and make it really nicely formatted and working ode, pip install black,then black myfile.py

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

2020-05-12 Thread AudioGames . net Forum — Developers room : ambro86 via Audiogames-reflector
Re: python spaces, I still don't get how it works. Camlorn said it right. A note about Nathan's tutorial. He does not use the indentation that is recommended, namely that of the 4 spaces. IN Python you can do it, because it is a language that leaves you very free. But I recommend using

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

2020-05-12 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: python spaces, I still don't get how it works. You indent by 4 spaces anywhere you'd put a left brace. You unindent by 4 spaces anywhere you put a right brace.  If you turn the screen reader indentation indication on, then you will get announcements only when the indentation level

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

2020-05-12 Thread AudioGames . net Forum — Developers room : thetechguy via Audiogames-reflector
python spaces, I still don't get how it works. Hi.Im following Nathan's pyton tutorial. I get everything fine, accept the indents. I still don't get it. Can someone explain further? URL: https://forum.audiogames.net/post/528560/#p528560 -- Audiogames-reflector mailing list Audiogames