this post was submitted on 29 Apr 2024
320 points (100.0% liked)

Programming

19200 readers
136 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 93 points 11 months ago (10 children)

Disinvestment into Python, Flutter, and Dart is a clear signal that those tools are unimportant to Google. I won't be recommending that anyone use Dart or Flutter on new projects.

[–] [email protected] 59 points 11 months ago (2 children)

You shouldn't have ever been recommending dart or flutter.

Python ain't going anywhere tho

[–] [email protected] 15 points 11 months ago* (last edited 11 months ago) (2 children)

You shouldn’t have ever been recommending dart or flutter.

Why not?

[–] [email protected] 40 points 11 months ago (1 children)

I would argue so, because Google has quite a reputation for killing projects: https://killedbygoogle.com

Especially with a programming language or framework, you don't want to invest in it, only to find out that it's going on the chopping block.

[–] [email protected] 4 points 11 months ago

Even if Google laid off staff for the Flutter and Dart team, I don't think those two will be going anywhere any time soon. Mostly because a huge majority Android ecosystem is based on them, still a stupid decisions of them.

I hope this doesn't age like milk.

[–] [email protected] 24 points 11 months ago (4 children)

I'm mostly just biased because I do native mobile development but flutter has always seemed like a false economy to me. You're trying to build cross platform but it'll take more than 2x as long as building each platform to get the same quality of experience. So either you have a shittier experience or you take even longer than true native dev.

But I'm obviously very biased here.

[–] [email protected] 14 points 11 months ago (10 children)

I've used it before and it's got it's pros and cons. Ultimately the big thing is not all apps need to be the "killer app". Some apps are pretty simple, so a one size fits all can be nice. It's definitely not the same as developing natively, but for small teams/apps it's not too bad.

[–] [email protected] 4 points 11 months ago

If you're prioritizing cost, you should probably already be building a web application imo. There's very few cases where I would recommend cheaping out and building a native app, it's just kind of unsound.

load more comments (9 replies)
load more comments (3 replies)
load more comments (1 replies)
[–] [email protected] 29 points 11 months ago (3 children)

Has anyone used Dart the past decade?

[–] [email protected] 34 points 11 months ago

Aside from everyone who's using flutter?

[–] [email protected] 8 points 11 months ago (2 children)

That’s a terrible language IMO

[–] [email protected] 11 points 11 months ago (2 children)

Just had to look at it out of curiosity and man, it looks like yet another C+=1. The code samples on Wikipedia contain one of those gaudy for-loops and a ternary, as if that was still peak language design four decades after C got published.

But what I seriously don't get: Why the hell did they develop Go then? That's yet another C+=1, with even some design similarities to Dart, e.g. it's garbage-collected but compiles to machine code.
Like, yeah, it wouldn't be the first time that different teams develop competing products at Google, but what kind of culture leads to there even being demand for two C+=1s?

[–] [email protected] 5 points 11 months ago (2 children)

I can’t get enough of JSX (React) markup syntax personally, it’s just too simple and efficient that I don’t want to learn anything else ;)

To be fair, Go is very different from Dart and if they look like C it’s because they try to give you the abstraction with the memory safety which is pretty great.

But yeah Google is kinda the developer of useless languages. Even if Go is a banger of a technology

load more comments (2 replies)
[–] [email protected] 4 points 11 months ago

Dart has all the modern bell and whistles and bullshit syntax too, the Wikipedia samples hardly do it justice

[–] [email protected] 9 points 11 months ago (1 children)

It was originally meant as a better JavaScript and it was. It failed when none of the other browsers expressed interest in supporting it. It languished for a while and then was taken up by the Flutter team. At the time Flutter took it up it was somewhere around the level of Java 8 in features but not quite on par. Since then it’s seen some massive improvements to the type system and language. It’s completely null sound, not just null safe like Kotlin. It recently got records/tuples and one of the more capable pattern matching syntaxes I’ve ever seen in a functional imperative hybrid language. The next stable version of dart will introduce a compiler macro system that is very promising. The syntax isn’t always the prettiest due to it trying to not totally break old code. I do think that it offers a wide range of modern language features that competes heavily with Swift and Kotlin in the mobile space.

load more comments (1 replies)
[–] [email protected] 7 points 11 months ago

I sorta forgot it existed.

[–] [email protected] 6 points 11 months ago (1 children)

I won't be recommending that anyone use Dart or Flutter on new projects.

You seem to think Google cares at all. Android has been languishing and Flutter is lightyears ahead. KMP is junk compared to what Flutter has accomplished with a fraction of the bells and whistles.

[–] [email protected] 9 points 11 months ago (1 children)

You seem to think Google cares at all.

Odd conclusion to draw. I'm simply not inclined to recommend tools that are not going to be supported by the organization that created them. Development ecosystems are important when planning a project.

load more comments (1 replies)
load more comments (7 replies)
[–] [email protected] 26 points 11 months ago* (last edited 11 months ago) (5 children)

I spent thr last 10 minutes reading the flutter docs, and I have no fucking idea what it is, what language it is written in, or generally anything useful about it. I think we'll be fine.

Also, Google's contributions to Python are mostly obsolete. optparse was replaced by argparse which is .mostly replaced by click. Yapf was never successful and black has taken a commanding lead. Python will be just fine.

[–] [email protected] 33 points 11 months ago

If you couldn't figure out what flutter is in 10 minutes that reflects poorly on you much more than anything else.

[–] [email protected] 27 points 11 months ago* (last edited 11 months ago)

Flutter is a UX/UI framework for Dart programming language. Dart is a statically typed (optionally dynamic possible), completely type safe, soundly null-safe compiled programming language. It can compile to JS to run on the web, or compile to x86_64 or Arm assembly to run on hardware.

Combining Dart, which is honestly an awesome but underrated language with Flutter which is a declarative UI framework, I have found a new love for app development. It's very pleasant.

And now I get shot in the dick with this news....

[–] [email protected] 27 points 11 months ago (5 children)

Flutter uses dart. It's one of the best ui building frameworks I have used. Not that it is perfect...

load more comments (5 replies)
load more comments (2 replies)
[–] [email protected] 25 points 11 months ago (2 children)

“As we’ve said, we’re responsibly investing in our company’s biggest priorities and the significant opportunities ahead,” said Google spokesperson Alex García-Kummert. “To best position us for these opportunities, throughout the second half of 2023 and into 2024, a number of our teams made changes to become more efficient and work better, remove layers, and align their resources to their biggest product priorities. Through this, we’re simplifying our structures to give employees more opportunity to work on our most innovative and important advances and our biggest company priorities, while reducing bureaucracy and layers”

There was this incredible management consultant in france in the 18th century. Name eludes me, but if he was still around Google could hire him and start finding some far more convincing efficiencies.

The guy was especially good at aligning resources to remove layers

[–] [email protected] 14 points 11 months ago (2 children)
[–] [email protected] 16 points 11 months ago (1 children)

I also cannot name him from the top of my head...interesting

load more comments (1 replies)
[–] [email protected] 5 points 11 months ago (1 children)

You could make a religion out of this.

[–] [email protected] 5 points 11 months ago
load more comments (1 replies)
[–] [email protected] 22 points 11 months ago

I am a manager at a big tech and I hate capitalism. CXOs really only care about profits, and thus everybody high-level proposes new enshittification strategies.

[–] [email protected] 20 points 11 months ago (8 children)

Can't really make heads of tails of this. I thought they were really into AI and Python is a big part of that. Which other languages are they going to invest in? Rust for Chromium?

Anti Commercial-AI license

[–] [email protected] 19 points 11 months ago

Python is in essence the interface for AI tools that are optimized with languages that are easier to get high performance results with.

[–] [email protected] 12 points 11 months ago

They hired cheaper talent from elsewhere for python.

load more comments (6 replies)
[–] [email protected] 9 points 11 months ago (2 children)

What idiot applies for a job at Google?

[–] [email protected] 26 points 11 months ago* (last edited 11 months ago)

Someone who wants to have Google on their CV when they leave in 2 years. Generally works out.

[–] [email protected] 7 points 11 months ago (7 children)

The kind that has bills to pay dumbass

load more comments (7 replies)
[–] [email protected] 6 points 11 months ago (1 children)

Looks like my Lemmy-client of choice did some retrying when I had poor connection, sorry about that.

I think trying to go cheap on native apps was always kind of a fool's errand, tbh. Cordova, Xamarin, React Native and so on - all pretty sub-par solutions leading to poor experience without actually materializing the desired savings.

[–] [email protected] 6 points 11 months ago* (last edited 11 months ago) (1 children)

Aren't a lot of Android apps made with Flutter?

load more comments (1 replies)
load more comments
view more: next ›