Cedric Beust

2.8K posts

Cedric Beust

Cedric Beust

@cbeust

Creator of Android Gmail and TestNG

San Francisco, CA เข้าร่วม Mayıs 2008
0 กำลังติดตาม4.6K ผู้ติดตาม
ทวีตที่ปักหมุด
Cedric Beust
Cedric Beust@cbeust·
The problem with dynamically typed languages is that they favor the developer who writes the code at the expense of the person who will maintain it. This is exactly the opposite of what we want.
English
75
210
1.5K
0
Cedric Beust
Cedric Beust@cbeust·
@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
2
1
1
403
Cedric Beust รีทวีตแล้ว
Juan Pablo Liska
Juan Pablo Liska@juanpabloliska·
@hhariri A challenging space, but if anyone can do it it’s JetBrains. yaml, though? I hope the guys working on this project have read the Kobalt codebase and consulted @cbeust Also, Gradle is Kryptonite to JS devs
English
1
1
2
746
Adam Bien
Adam Bien@AdamBien·
@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
1
0
0
193
Cedric Beust
Cedric Beust@cbeust·
@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
1
0
1
209
Cedric Beust
Cedric Beust@cbeust·
Don't worry about your code being fast until you have irrefutable proof from your profiler that it is slow.
English
1
4
12
1.8K
Cedric Beust รีทวีตแล้ว
John O'Reilly
John O'Reilly@joreilly·
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.
John O'Reilly tweet media
English
3
6
38
12K
Cedric Beust
Cedric Beust@cbeust·
@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
0
0
1
66
Cedric Beust
Cedric Beust@cbeust·
@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
0
0
1
18
Cedric Beust
Cedric Beust@cbeust·
My dear friend and incredible coder Bob "crazybob" Lee was stabbed to death last night in San Francisco. I just cannot comprehend this news. It is such a loss, we will miss his brilliance and kindness. I know I will.
English
6
4
50
17.8K
Cedric Beust
Cedric Beust@cbeust·
Today is a great day to publish all your private projects containing code you haven't had time to polish. If you get made fun of, you can always claim it's an April's Fool.
English
0
1
4
720
Cedric Beust
Cedric Beust@cbeust·
@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
0
0
1
113
Phil Lui
Phil Lui@phil_kgy·
@mariofusco @ingramchen That's why in industry all checked exception will be caught and be thrown again as RuntimeException
English
1
0
0
148
Mario Fusco
Mario Fusco@mariofusco·
In Java 1. Every method has a color 2. Any blue method can be simply called 3. A blue method calls a red one in a painful way otherwise it also becomes red 4. A red method can simply call another red one only if they have the same shade of red otherwise 3. What are red methods?
Mario Fusco tweet media
English
16
7
58
30.1K
Cedric Beust
Cedric Beust@cbeust·
@mariofusco @ingramchen There is one legitimate scenario where checked exceptions are "bad", but nobody ever gives that correct answer. Wanna take a guess?
English
0
0
0
46
Mario Fusco
Mario Fusco@mariofusco·
@ingramchen Correct, and that's why checked exceptions are bad
English
7
1
15
2.2K
Cedric Beust
Cedric Beust@cbeust·
@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
0
0
2
60
Elon Musk
Elon Musk@elonmusk·
@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
598
786
8.9K
677.3K
X Daily News
X Daily News@xDaily·
NEWS: Twitter is on a path to profitability for just the 3rd time in its 17 year history. Here’s how👇
English
82
323
2.5K
318K
John O'Reilly
John O'Reilly@joreilly·
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)
John O'Reilly tweet mediaJohn O'Reilly tweet media
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
2
4
20
4.1K
Cedric Beust
Cedric Beust@cbeust·
@joreilly What a super cool idea and execution, very well done, John!
English
0
0
1
26
Cedric Beust
Cedric Beust@cbeust·
@mariofusco Depends compared to what. Java is excessively verbose compared to Kotlin, but about on par compared to Rust.
English
0
0
0
242