Cedric Beust
2.8K posts

Cedric Beust
@cbeust
Creator of Android Gmail and TestNG
San Francisco, CA Sumali Mayıs 2008
0 Sinusundan4.6K Mga Tagasunod
Naka-pin na Tweet

@AdamBien @kotlin @java @IngoKegel When you say that in your Java code base, NPE's are not an issue, you don't seem to account how hard and how long it was to get there. You fix NPE's in Java by experiencing them in production, Kotlin doesn't let your bad code get there in the first place...
English
"Why @kotlin is Better Than @java" -- an airhacks.fm conversation with @IngoKegel is ready to listen 👉 adambien.blog/roller/abien/e… #Java #Kotlin #Podcast
English
Cedric Beust nag-retweet

@AdamBien @Stephan007 I had a lot of fun reminiscing with you too! Happy to do that again.
English
@cbeust @Stephan007 Cedric -> the Episode 134 #episode_134" target="_blank" rel="nofollow noopener">airhacks.fm/#episode_134 with you was fun! Especially talking about the old Java days like e.g. JavaPolis (EJBGen :-)) time frame :-)
English

@Stephan007 @AdamBien Also, unrelated, but being a speaker on your very first JavaPolis is a badge honor I wear with pride. Great memories from back then :-)
English
Cedric Beust nag-retweet

Rough around the edges but added Wasm based Compose for Web client to the Chip-8 KMP sample (github.com/joreilly/chip-8) cc @bashorov
Right now it's loading Space Invaders ROM by default but should work with others ones as well (was cool to see btw how straightforward it was to load that file using Compose resource() API)
Think I need to make some changes to implementation of virtual game CPU/Clock (for project in general) but seems to work reasonably well.

English

@BruceEckel Kotlin is still slightly ahead of Rust in terms of QOL features, but I've written nothing but Rust for the past two years and I've been loving my journey so far.
English

bruceeckel.substack.com/p/the-python-r… My experience using Python and Rust together.
English

@BruceEckel Your path looks a lot like mine, Bruce. I did not expect to like Rust as much as I did when I started exploring it a few years ago, with all this explicit memory wrangling. But I love the language now.
English

@adamgordonbell It would mean that this thing that you made has become incredibly popular. Surely this would outweigh everything else. Nothing lasts forever, most software dies running out of users, being outlawed by the government is not a bad way to go.
English

Imagine governments asking people to stop using the thing you made.
Even if they had points, that would hurt.
Jordi Mon Companys@JordiMonPMM
I had Bjarne Stroustrup on Software Daily to talk about C++'s safety and, mostly, its security. In my view, there seems to be an irresolvable dilema or an unreacheable compromise between safety, undefined behaviour and general purpose
English

@phil_kgy @mariofusco @ingramchen Which is basically removing all safety checks and celebrating that the code is now cleaner.
English

@mariofusco @ingramchen That's why in industry all checked exception will be caught and be thrown again as RuntimeException
English

@mariofusco @ingramchen There is one legitimate scenario where checked exceptions are "bad", but nobody ever gives that correct answer. Wanna take a guess?
English

@ingramchen Correct, and that's why checked exceptions are bad
English

@mariofusco @ingramchen That's why checked exceptions are *good*. If I call a function that can't fail, and then later a new version of that function can fail, I want my code to stop compiling until I fix my calling code to handle, or forward, the error.
English

@elonmusk @TitterDaily Name the advertisers returning. We'll wait.
English

@TitterDaily Yeah, generally correct.
Titter was trending to lose ~$3B/year (revenue drop of ~$1.5B + debt servicing of ~$1.5B) and had $1B in cash, so only 4 months of money. Extremely dire situation.
Now that advertisers are returning, it looks like we will break even in Q2.
English

Was inspired by this article to create a Wear OS client for github.com/joreilly/chip-8 #KMM sample! Not exactly perfectly suited to a device like this but it kind of works 😀 (repo is based on @cbeust's original chip-8 emulator project - github.com/cbeust/chip-8)


Ataul Munim@ataulm
A few weeks ago, Sara and I worked on building a game for Wear OS. This post isn't about that game, this is just a tribute. Learn how to use the rotary inputs on Wear OS, using #JetpackCompose medium.com/androiddevelop… #AndroidDev
English

@joreilly What a super cool idea and execution, very well done, John!
English

@mariofusco Depends compared to what. Java is excessively verbose compared to Kotlin, but about on par compared to Rust.
English

Now tell me again that Java is verbose and doesn't move forward fast enough 🤔
HashAndHustle@techbro_1a
@starbuxman @java Hopefully soon we’ll start the migration from java 6 to 8
English



