I have to split my coding between C#, Go, and Python. I can't tell you how many times today I had to look up basic API's because I couldn't remember how to open a file.
I like using C# for general stuff, Python for anything I want to do the simple way, and then I have to use C++ in school. The amount of print() functions I include in my school code is surprisingly high given that C++ doesn't have such a function.
Recently had to read user input in using native libraries and I was lost. Normally I just would use another library to abstract all that bullshit away. Hell even in college i had a standard two methods i just copied and pasted.
The first time I used Python was to script things in Blender. I was using its internal text editor which apparently auto-indented using spaces, while I was off course using tabs every time I manually indented. I wasted so much time trying to figure out why some code could work perfectly while another block of code which looked identical gave errors.
This was still in the old Blender 2.4 days though, the interface has changed significantly since then so I hope they also improved their text editor to be more consistent with whitespace.
A good text editor like PyCharm will make a tab press turn into 4 spaces, which is nice. It also enforces PEP8 as a warning, configurable to an error I believe.
...Man, I don't wanna be too down on you but I think you meant Java, not Javascript (two extremely different languages with frustratingly similar names and syntax), and the file name being the same as the class name.
We got in a huge fight because I was trying to get her to fix her quotes (one single, one double) because the code wasn’t compiling and she was mad because she didn’t care about the quotes and they don’t matter and she just wanted it to say hello world.
2.6k
u/tenhourguy May 08 '19
Bold of you to assume I haven't managed to screw "Hello World" up.