The home of Kotlin

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

Wow. @maartenballiauw looks great in the official mascot, Kodee, costume. He's got some amazing Belgian dance moves.

https://www.youtube.com/live/Ar73Axsz2YA?si=pcBS2SclZSqyW72h&t=122

yopox,
@yopox@rivals.space avatar

@khalidabuhakmeh @maartenballiauw :alert: PLOT TWIST I AM THE MASCOT NOW :amogus:

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar
mort,
@mort@fosstodon.org avatar

I really like 's (and others') approach to nullability, where nothing is nullable by default and you mark something as nullable by adding '?' to the type. And the '?.' syntax is nice too. 'foo: Foo? = ...; foo?.doThing()' is nicer than 'foo: Optional<Foo> = ...; foo.map(|it| it.doThing())', and both are miles better than "everything is always implicitly nullable unless annotated with '@NotNull'

Crell,
@Crell@phpc.social avatar

and are lightyears better than for , at least in the quality of their output. It actually reports something useful, unlike KTLint.

Dear flipping god, how do people work with tools this bad?

sven,
@sven@phpc.social avatar

@Crell we (the PHP community) are very spoiled when it comes to tooling. It’s so good!

Crell,
@Crell@phpc.social avatar

Having tasted extension functions in , I really really want them in . I am not sure how that would be even feasible, though. 😞

henrikjernevad,
@henrikjernevad@mastodon.social avatar

@Crell @maxalmonte14 I agree. And I think several languages has shown that the last few years. From the ones I am familiar with, Scala was a surprisingly successful FP/OOP hybrid experiment. Then Kotlin took "the best parts to the masses". But even Java and C# has moved a lot towards FP. And JavaScript is flexible and weird enough to fit both camps.

Crell,
@Crell@phpc.social avatar

@henrikjernevad @maxalmonte14 Most of the guidelines for "good" OOP are borrowed straight from FP, with or without some twisting. Honestly a structurally typed language (Go or Rust) could, with the proper features, easily straddle both sides perfectly.

koje71, German
@koje71@darmstadt.social avatar

Hab ein bisschen weiter an der Kugelbahn gebastelt und etwas Schnickschnack eingebaut. Es gibt Schalter, die beim Überrollen Barrieren öffnen und einige Bahnelemente sind jetzt festgeschraubt, so dass sie sich nicht mehr verschieben lassen.

Ich überlege mir jetzt noch etwas mehr Schnickschnack 😀

Leider ruckelt es etwas im Android Emulator, aber auf dem Handy selber läuft alles total flüssig.

Eine Kugelbahn für Android in der Entwicklung

Gleisplan,
@Gleisplan@mastodon.social avatar

@koje71

schön

mort,
@mort@fosstodon.org avatar

I can't deal with languages with optional semicolons! I like languages without semicolons, but when they're optional, especially if they feel "C-like", I always end up adding semicolons to some lines even when I try to write in a semicolon-less style. I'm writing some now and I decided to just use semicolons consistently because the alternative is seemingly to use them inconsistently.

Strangely, this isn't an issue I have in . I do have it in however.

mort,
@mort@fosstodon.org avatar

@ekuber That's correct, and I would've added a caveat if I wasn't limited to 512 characters, but here we are

For a whole lot of blocks in rust (such as if statements and loops not used as expressions), it doesn't make a difference whether the block technically evaluates to something, so the last semicolon there is in practice optional, so I sometimes forget it

ekuber,
@ekuber@hachyderm.io avatar

@mort but it is mandatory in many of those cases: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=32225df0708630a138de26cfba3f4ffb

Thank you for making me double check, because made me realize there's a bug in our logic: https://github.com/rust-lang/rust/issues/124819

koje71, German
@koje71@darmstadt.social avatar
Crell,
@Crell@phpc.social avatar

Another day, another way in which the / ecosystem is weaker/worse than the ecosystem.

I'm kind of tired of finding these.

Crell,
@Crell@phpc.social avatar

@adam_turcsan Apparently, it's common (at least in some circles) to have to define database entities as classes... and then also manually write SQL to create the corresponding table/types.

Meanwhile, Doctrine has had auto-migration generation for 15 years?

Apparently there's an IDE plugin to generate migration scripts. Testing it now.

Also, Composer > Gradle, without question.

adam_turcsan,
@adam_turcsan@phpc.social avatar

@Crell In my head, Hibernate is the tool that Doctrine got to be in php, so I don't think that it's not a solvable thing... although I personally have no experience with that. However Composer >> most of the package managers :D

hamoid,
@hamoid@genart.social avatar

I'm very happy that I figured out how to place the icons in columns (responsive) and the names under the thumbnails. I find aligning things in Swing even harder than in CSS.

This is in my https://codeberg.org/hamoid/idea-thumbnails plugin which currently works for and programs, but would be easy to adapt to other languages / frameworks supported by the Idea IDE.

If anyone uses Idea for creative coding, I'm open for contributions :-) I'm a noob at writing Idea plugins.

hamoid,
@hamoid@genart.social avatar

Small improvements in the layout of my Thumbnailer IntelliJ Idea plugin.

dkandalov,
@dkandalov@mastodon.social avatar

In case you want to try an alternative JSON (de)serialization library for , Kondor https://github.com/uberto/kondor-json by @ramtop is great. No annotation magic, just functions explicitly defining the mapping. No external dependencies. As fast as Jackson.

svenjacobs,
@svenjacobs@androiddev.social avatar
Crell,
@Crell@phpc.social avatar

@svenjacobs Is there a summary of what's new enough to justify a 2.0?

Crell,
@Crell@phpc.social avatar

is to as is to .

Up to you if that's a complement or an insult.

julianwki,
@julianwki@chaos.social avatar

@Crell Yes and well... no. 🤓 Kotlin and TS both are probably the superior language. But Kotlin > TS in my opinion.

Crell,
@Crell@phpc.social avatar

@julianwki I made no comparison between Kotlin and TS as languages. Just to their respective ecosystem roles.

ethauvin,
@ethauvin@mastodon.social avatar
caritos,
@caritos@mastodon.social avatar

Experimenting with with as the backend.

kerfuffle,
@kerfuffle@mastodon.online avatar

@caritos
How are you finding it thusfar? What is the alternetive you're comparing it to?

henrikjernevad,
@henrikjernevad@mastodon.social avatar

Inspired by @thejtoken, here is my programming journey:

QBasic -> Visual Basic 1-6 -> Visual Basic .NET -> C# -> PHP -> JavaScript -> Java -> Scala -> Kotlin -> TypeScript

Favorite so far is (for backend development).

thejtoken,
@thejtoken@hachyderm.io avatar

@underlap @henrikjernevad Impresionante, just to check a little bit your Spanish 😉

underlap,
@underlap@fosstodon.org avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • Kotlin
  • tacticalgear
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • khanakhh
  • Youngstown
  • ngwrru68w68
  • slotface
  • everett
  • rosin
  • thenastyranch
  • kavyap
  • GTA5RPClips
  • cisconetworking
  • JUstTest
  • normalnudes
  • osvaldo12
  • ethstaker
  • mdbf
  • modclub
  • Durango
  • tester
  • provamag3
  • cubers
  • Leos
  • anitta
  • megavids
  • lostlight
  • All magazines