#even if you do use a counter driven loop in python its still more intuitive in that. for i in range(len(string))
Explore tagged Tumblr posts
Text
i swear to god i cannot stand java. at first i thought that learning a second programming lang would be easier because its like normal languages, it gets easier to learn a new one, and in one way thats true, but on the other hand. python is SO easy (relatively). its got such a nice aesthetic to it, very readable, the whitespace is lovely and the syntax is simple
BUT JAVA? i cannot fucking STAND this shit. these stupid ass semicolons at the end of every statement, the stupid ass curly braces for EVERYTHING that exists. and its especially irritating because the stupid website that we use for the java homework doesnt even have the grace to auto fill in the curly braces like an actual java ide would do. im at my wits fucking end
and how for loops in python are so graceful. so lovely. but in java its the worst fucking thing ever. and trying to access the individual characters in a string in java? oh the HORROR. index notation is so fucking easy in python its just string[index] but in java its like string.charAt(index). just writign it out simply like this isnt so bad but when you’re trying to do fairly complicated (beginner) programs its like WHY am i doing this. this would be so fucking easy in python but it’s like pulling teeth in java
#ITERATING OVER A STRING IS SO LOVELY IN PYTHON ITS JUST FOR CHAR IN STRING#but in JAVA its like for(int i = 0; i < string.length(); i++)#AND THEN THE FUCKING CURLY BRACES AROUND THE WHOLE LOOP!!!#im losing my MIND#you start to lose track once you start dealing with loops that do more than 2 things#and then trying to keep track of what curly braces go where is like *UJYTGFDSA#for each loops in python are not only A. short but they are also B. very intuitive#but in java? look at that thing. how intuitive is that#even if you do use a counter driven loop in python its still more intuitive in that. for i in range(len(string))#but the thing IS when you're iterating over the characters in a string its better to use a for each loop anyway#but in java? i think a for each loop does exist but we werent fucking taught it yet#i tried googling it and its the most bat shit looking thing ive evr seen. i'll just stick to this stupid counter driven loop i guess#UGH!#brot posts
1 note
·
View note