[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Tell me why I should use exceptions.
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 15
Thread images: 2
File: 1439235371751.png (51 KB, 792x600) Image search: [Google]
1439235371751.png
51 KB, 792x600
>tfw starting to use java exceptions

holy fuck, it's like my code can't crash now.

feels like a superpower wizard.

>tfw no longer have to deal with outofboundserror
It's like finally losing my virginity.

;)

I can now write java enterprise code.

;)
>>
>>51734609
Wow, you learnt something cs-students learn in their first 3 weeks programming.

Props 2 u
>>
>>51734821
I'm not a CS guy nor I ever had a coding class in my life.
;)
>>
>>51734840
>;)
;);););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););););)
>>
>>51734840

It shows
>>
>>51734845
>>51734850
I'm self taught though.

discovering exceptions by myself was pretty cool and make me happy.

;)

stay mad.
>>
>>51734609
Nice blog anon
>>
File: oplovescawk.jpg (16 KB, 350x318) Image search: [Google]
oplovescawk.jpg
16 KB, 350x318
Yes, continue to catch exceptions instead of analyzing your code.
Who needs accuracy of information.
Another tip use "import java.*" instead of importing specific apis.
Extremely efficient and now you have everthing available.
>>
>catches exception
>doesnt deal with them
cs-graduate.jpg
>>
learn python
it teaches you a little of everything
>>
>>51735523
>cs-gradute.jpg
More like enterprise-quality.png
Seriously, every new project I'm assigned to at work, the first thing I do is rage my throat out at the lack of error handling.
>>
>>51735387
>import java.util.*
-Every piece of code I received for an assignment ever.
>>
use exceptions at user-input or other software that has undefined behavior. do not use exceptions to make your shitty code work
>>
>>51736406
compiler fixes it grandpa
>>
>>51736433
Oh, cool. I need to look into what the JVM does for you some time, since I'm stuck with java for the next 2 years anyway.
Thread replies: 15
Thread images: 2

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.