- 0 Posts
- 12 Comments
Checked exceptions require a function to declare the exceptions it can throw. The caller function must then catch and handle the exception, or the exception would bubble up a level, in which case the caller must also include that exception among the exceptions it declares that it can throw. I don’t know if C++ does this, but Java/C# do. It sounds exactly like Rust’s system except with different syntax.
My last job was Windows desktop, so I installed vmware and ran Linux in fullscreen mode.
kablammy@sh.itjust.worksto Linux@lemmy.ml•Which Linux tool or command is surprisingly simple, powerful, and yet underrated?"1·6 months agoI figured as much. Just wanted to show another option.
kablammy@sh.itjust.worksto Linux@lemmy.ml•Which Linux tool or command is surprisingly simple, powerful, and yet underrated?"2·6 months agoI love
httpie
for hitting urls when i want to see the headers or body without downloading to a file eg testing an api
kablammy@sh.itjust.worksto Linux@lemmy.ml•Which Linux tool or command is surprisingly simple, powerful, and yet underrated?"11·6 months agoThis was a few years ago so maybe it has improved, but I found that screen would crash and lose my session history and layout too often. That was bad enough, but when it happened it had some bullshit error message about a dungeon roof falling in. I don’t mind some comedy in code or even the interface, but don’t make light of the user losing their stuff. I tried tmux and it is much more stable than screen was.
kablammy@sh.itjust.worksto Linux@lemmy.ml•Which Linux tool or command is surprisingly simple, powerful, and yet underrated?"1·6 months agomkdir -p
will not complain if the dir exists
kablammy@sh.itjust.worksto Not The Onion@lemmy.world•Donald Trump offers supporters $299 assassination attempt-themed sneakersEnglish9·1 year agoMaybe we misheard and he said “this lets me sell more shoes”
kablammy@sh.itjust.worksto Technology@lemmy.world•Things the guys who stole my phone have texted me to try to get me to unlock it - GothamistEnglish16·1 year agoVelcro sewn to just inside the top of your pocket, so sticking a hand in your pocket makes a loud noise and you can feel it, for any pickpocket to separate the velcro.
kablammy@sh.itjust.worksto Not The Onion@lemmy.world•Taliban Militants Fed Up With Office Culture, Ready to Quiet QuitEnglish10·2 years agoAt the very least a sniper should be good at sitting very still for hours at a time.
kablammy@sh.itjust.worksto Memes@lemmy.ml•As an owner of children, I approve this message0·2 years agoFYI the younger ones are screaming because of pain from the inner ear air pressure changes that they don’t know how to prevent.
Damn, I thought this said pensioner games. I was hoping it meant old-school style games were making a comeback.