Thanks, it makes sense. I just don’t yet see how I’d reduce the number of ifs*, but I guess it’s a case by case thing.
- simplest I can think of is let’s say we need different logic based on a number’s parity. How do I avoid
if x % 2 == 0
?
Thanks, it makes sense. I just don’t yet see how I’d reduce the number of ifs*, but I guess it’s a case by case thing.
if x % 2 == 0
?well, It’s not a joke. But the rest is way to optimistic. You aren’t the first to say that my teacher is just way smarter.then I give credit for but the thing is, noone (in my class) that I tried to share this idea with believed this to be the case. I’ll stay optimistic, and see what’ll happen.
Thanks for the warning about overly braching code, I’ll keep that in mind. (however, I don’t get why more loops and ifs makes a function harder to test, I’m just going to trust you and that I’ll find out later.
I don’t know that many programmers :/
You guys have so much faith it’s contagious. Very motivational words, Thank you.
Saved me even more time! I won’t be reading that. I don’t know java at all, and the review says that the advice is dated, bad or both. Thanks
I don’t know your or his source, but warning me before I read it deserves a thank, so thanks for saving me time.
Yeah, thanks. I think I will do that. Thanks for the example.
I’ve never considered that she might just be very smart. You’re very optimistic. Filled me with hope out of nothing. Thanks!
last part gave me something of a mindset change, for the better. I’ll try being a little less of an idiot then c: Thanks!
thanks for the breakdown, I don’t know if my grade would be too high of a sacrifice to try goto, but I’ll have it in mind. thanks.
Not a bad idea, thx
If you put your loops into functions then you can just use return instead of break.
I wonder if I can bypass her rule with this, thanks.
heh, nice one
You’re the closest to agreeing so far, thanks for the comment.
As I said to xmonk: “u make me not wanna be a software engineer with this talk…”.
This is a good mindset to be in however, thanks
Yeah, that conversation is probably unavoidable. Let’s hope for a good answer. (also I heard that maybe I won’t be studying under her, rumors only, but we’ll see. Thanks.
This rule will apply for C# only I think (I hope). I also like your optimistic points, thanks.
u make me not wanna be a software engineer with this talk…
You might be right, problem is that I’m already appeasing her by not writing in a language that I know, but in one that she knows. However I’m enlightened by your correction, might explain things.
oh, okay, I hear you. Thanks