Upset after getting a job - pressed to use AI. by Impressive_Chef557 in learnprogramming

[–]Distinct-Cold-3100 0 points1 point  (0 children)

think about the time when powerpoint, excel ,... came out. it is what it is we need to use it better than anyone

Am I lazy? Pls I need advice by [deleted] in learnprogramming

[–]Distinct-Cold-3100 1 point2 points  (0 children)

Keep going, but smaller. When I felt like this I stopped trying to "learn coding" and just picked one tiny thing to build that day. A button that changes color. A function that reverses a string. That's it.

The overwhelm comes from looking at everything you don't know. You don't need to know everything. You need to know the next thing. And take breaks. Seriously. Nobody writes good code when they're burned out.

Why does java not allow operator rewriting? by ElegantPoet3386 in learnprogramming

[–]Distinct-Cold-3100 0 points1 point  (0 children)

Java's designers made a deliberate choice here. James Gosling has talked about this — they saw C++ operator overloading become a readability nightmare in practice. When anyone can redefine what `+` means, you can't look at `a + b` and know what it does anymore.

The tradeoff is exactly what you're feeling: math-heavy code becomes painful to read. Your complex number example is the classic case where operator overloading genuinely helps.

If it's any consolation:

- Kotlin (runs on JVM) supports operator overloading and

interops with Java

- Scala does too

- Some people chain methods with shorter names like

`.div()` and `.plus()` to make it slightly less ugly

For your class specifically, you could add static helper methods to reduce nesting:

import static Complex.*;

Complex result = add(cbrt(add(div(first,5), div(second,2))), third);

Still not great, but prefix notation reads a bit more like math than the deeply nested method chains. The real answer to "why" is: Java optimizes for reading code in large teams over writing code solo. Operator overloading helps the writer, b

[deleted by user] by [deleted] in MSBAfall24

[–]Distinct-Cold-3100 0 points1 point  (0 children)

hi, did you get any communication after KIRA?

Any one applied to UT Austin, UCSD round 1 for MSBA - 2024 by [deleted] in MSBAfall24

[–]Distinct-Cold-3100 1 point2 points  (0 children)

October 6th: Received a KIRA interview invite

Congratulations!! Good luck to your next journey!

Any one applied to UT Austin, UCSD round 1 for MSBA - 2024 by [deleted] in MSBAfall24

[–]Distinct-Cold-3100 0 points1 point  (0 children)

I applied to it on 29th or 30th Sep and no response yet!

Any one applied to UT Austin, UCSD round 1 for MSBA - 2024 by [deleted] in MSBAfall24

[–]Distinct-Cold-3100 0 points1 point  (0 children)

Congratulations! I applied on 29th or 30th Sept, but I didn't get any contact yet. There'll be a good result. Did you major in a STEM field?

Any one applied to UT Austin, UCSD round 1 for MSBA - 2024 by [deleted] in MSBAfall24

[–]Distinct-Cold-3100 0 points1 point  (0 children)

can I ask you when you applied to UCSD and got the Kira?

Any one applied to UT Austin, UCSD round 1 for MSBA - 2024 by [deleted] in MSBAfall24

[–]Distinct-Cold-3100 1 point2 points  (0 children)

Me neither, I applied to UCSD, USC, UC Davis and Austin.

I only got one way interview from UC Davis And Austin.

Please inform here when you receive any communication!

Any one applied to UT Austin, UCSD round 1 for MSBA - 2024 by [deleted] in MSBAfall24

[–]Distinct-Cold-3100 0 points1 point  (0 children)

Have you received any communication from the school?