@jhx You asked for it, so I'll answer it:
Imho, C++ design is broken from the very beginning. It wanted to provide #OOP language constructs, still maintaining full #C compatibility (which already failed many years ago, cause the languages took different roads).
It combines #exceptions (IMHO generally a bad idea) with explicit resource management (an *awful* idea, forcing you to use #RAII which will in turn mandate creation of purely "technical" classes, just to manage resources).
It wanted #generics, but that's impossible without breaking C compatibility, so it came up with #templates, actually a #preprocessor on steroids.
Overloading also doesn't fit into the simple C library ABI (where #linker symbols are named just like the function), so it came up with "name mangling" ... which is especially horrific because it is *not* standardized.
Ah well, I could go on 😂
#oop #c #exceptions #raii #generics #Templates #preprocessor #linker
Anyone know if there are any scholarly articles comparing different methods of error handling? For example, is Rust's `Result` demonstrably better than exceptions à la Java or C#? Is Go's `if err != nil` an actual improvement over just checking `errno` all the time?
#rust #rustlang #programming #exceptions #errors
Want more fine grained control over your exception handling? Check out the C# Exception Filters!
With the when keyword you can specify when an exception needs to be handled. This way you can set up all kind of logging or retry mechanisms the easy way!
#20000
#usd
#cash
#in
#hand
#moleskine
#in
#hand
#no
#exceptions
#no
#substitutions
#equals
#letterrette
*'... cash in hand, moleskine in hand, no exceptions, no substitutions, equals letterrette, maybe receipt.
Nico Antonio Grande
Proud Antifascist Performance Artist
At Your Service
NOLApasaran
Defend NOLA
thycaline@protonmail.com
patreon.com
#usd #cash #in #hand #moleskine #no #exceptions #substitutions #equals #letterrette
#Women are under attack in this country - as are many others.
In #SouthCarolina they want to sentence women who have #abortions to #DEATH. There are no #exceptions to this rule. If the life of the mother is at risk she will have to testify to #selfdefense in court. #Gilead is impressed. How long until they want to display the bodies for all the handmaids to see?
#Walgreens is not dispensing #mifepristone in 20 states - so it’s time to #BoycottWalgreens as well.
#women #southcarolina #abortions #death #exceptions #selfdefense #gilead #walgreens #mifepristone #boycottwalgreens
my talk from #jdconf 2022 about - #functional #reactive with core #java // #exceptions #functionaltraining #jdk #conditions #memoizing #currying #functionalprogramming https://youtu.be/Ly81s7cDcTY
#JDConf #functional #reactive #java #exceptions #FunctionalTraining #jdk #conditions #memoizing #currying #functionalprogramming
A week and a day til Valentine’s Day.
As a rule I have pretty high expectations. As with any rule, it has its exception, the F14 exception. In this case the following applies:
Expect nothing and you'll never be disappointed.
#ValentinesDay #dating #SingleLife #expectations #romance #LowExpectations #NoExpectations #humour #joke #exceptions
#valentinesday #dating #singlelife #expectations #romance #lowexpectations #noexpectations #humour #joke #exceptions
my talk from #jdconf 2022 about - #functional #reactive with core #java // #exceptions #functionaltraining #jdk #conditions #memoizing #currying #functionalprogramming https://youtu.be/Ly81s7cDcTY
#JDConf #functional #reactive #java #exceptions #FunctionalTraining #jdk #conditions #memoizing #currying #functionalprogramming
Romeo & Juliet laws don't actually exist.
Some states have close-in-age exceptions in their age of consent laws.
In Kentucky it's 10 years. In Idaho 3 years. In Illinois zero.
So what is the correct allowable age gap in your mind?
+5 years = rape ?
+3 years = lovemaking ?
------
#Romeo #Juliet #laws #actually #exist #states #close-in-age #exceptions #AgeOfConsentLaws #AgeOfConsent #romeoandjuliet #Kentucky #10years #Idaho #Illinois #zero #correct #agegap #yourmind #rape #lovemaking
#romeo #juliet #laws #10years #idaho #exist #close #AgeOfConsentLaws #ageofconsent #romeoandjuliet #kentucky #illinois #zero #correct #yourmind #exceptions #agegap #rape #lovemaking #actually #states
Create #exceptions for #individuals so that their #conversations can bypass Do Not Disturb on #Android. https://tchlp.com/3i136Ws
#exceptions #individuals #conversations #android
I'm pretty sure that exceptions in languages like Java et al have their role, but the behaviour of trying a huge block and if it fails just to log "something went wrong", that is just silly. Same with fully expectable scenarios like "We couldn't connect to this remote host", that isn't an exception, that is a result which can be expected. I don't need 1300 lines of stack trace without any useful information when it could just have been a single line which says "Couldn't connect to remote host (1.2.3.4:5678)" or "Authentication failed while connecting to proxy (1.2.3.4:5678, user foo)".
#java #exceptions #badprogramming
#Lithuania will not apply #exceptions to sanctions against #Russia
“Lithuania will take advantage of this opportunity provided by the #EuropeanCommission and will not grant exceptions to hundreds of #oligarchs, or at least those who are actually in Lithuania, have money or companies in Lithuania,” Foreign Minister #GabrieliusLandsbergis said.
#GabrieliusLandsbergis #oligarchs #Europeancommission #Russia #exceptions #Lithuania
"There are still some “#gotchas” to be aware of"
@berrange
#async
#stack
#exceptions
#clang
#virtualization
https://twitter.com/giuliohome_2019/status/1603479354922655762
#gotchas #async #stack #exceptions #clang #virtualization
"There are still some “#gotchas” to be aware of"
@berrange
#async
#stack
#exceptions
#clang
#virtualization
https://twitter.com/giuliohome_2019/status/1603479354922655762
#gotchas #async #stack #exceptions #clang #virtualization
Don't rescue StandardError. It catches false positive cases, like NoMethodError, which usually shows a typo inside a calling method. That would be a complication error if Ruby had a compiler. So, catching this error makes a dead code work. #ruby #exceptions
RT JavaAdvent: Look what our St. Nicholas, aka \@nicolas_frankel, brought us today.
„#Exceptions in #Java #Lambdas“ is #javaadvent22's treat for you today.
Check it out: https://www.javaadvent.com/2022/12/exceptions-lambdas.html?mtm_campaign=JavaAdvent2022&mtm_source=twitter
#exceptions #java #lambdas #javaadvent22
Look what our St. Nicholas, aka Nicolas Fränkel, brought us today.
„Exceptions in Java Lambdas“ is Java Advent's treat for you today.
Check it out: https://www.javaadvent.com/2022/12/exceptions-lambdas.html?mtm_campaign=JavaAdvent2022&mtm_source=linkedin
#javaadvent22 #exceptions #java #lambdas
Sobre checked exceptions y manejo de excepciones 👇 https://blog.koalite.com/2019/06/sobre-checked-exceptions-y-manejo-de-excepciones/?utm_source=rss&utm_medium=rss&utm_campaign=sobre-checked-exceptions-y-manejo-de-excepciones #development #exceptions #java
#development #exceptions #java
Mein Hirn wirft #Exceptions, wenn jemand #Engine mit "Ei" ausspricht... "Eng🥚ne"
#DZone #JavaZone "Java Exceptions -- This article is an analysis of the following: Java Exception Design, what Java exception can tell, and how to use Java Exceptions" #Java #Exceptions #Check #RunTimeException #Error (good, bad, ugly) ... https://dzone.com/articles/java-exceptions-1
#dzone #javazone #java #exceptions #check #RunTimeException #error