markdown guide
 

I had the same thought when I saw the Mac Pro unveiled:

 
 
 

They've gone from a device that looks like a can to one that looks like a grater in 6 years time.
Boy, I can't wait, what they'll present in 6 years from now!

 

Seems to me that designers at Apple took the book The Design of Everyday Things a bit too literally ;)

 
 

I wouldn't really say game changer, windows devs have had similar features for years within visual studio but to generate xaml code not csharp and to update visual properties for different controls.
I'd say if SwiftUI gets something like visual studio blend (or not sure if that exists already, not an apple developer), then it can be a game changer with designers giving you almost ready working code

 

As an iOS Dev, Swift UI and Combine are really exciting changes and will change the way we architect apps. Just a shame it’s only iOS13 for now (no backward compatibility).

Swift UI also makes iOS development much more approachable for new developers which can only be a good thing :)

 

Many companies had XML based declarative UI frameworks, they all failed.

When I look at React, which didn't fail, I think the problem was going XML first and not the declarative part. React and SwiftUI seem to went in the right direction here.

 
 

Did they take a page out of Flutter's book? Seems cool though!

 

Although React's approach was to bind HTML/CSS/JS into one JS file. You still need to learn Tags, elements,styles, etc.

While Flutter's approach was to code in one language, no context switching and made a guide for Declarative UI where UI = (state) since Flutter was inspired by react.

 

Who here has an Apple Watch? Had it been helpful for your health and fitness?

 

I wanted to buy a smartwatch but decided to first give a try to a fitness band. I bought a Xiaomi Mi Fit for 20$ discounted on Amazon. And I have to say that it fullfils at 99% my needs, and that I do not need a smartwatch which would be, as already said, only one more distraction. :)

 

I got the series 1. I thought it was really cool at first, but now I mostly find it to be a distraction and sort of a solution to a problem I don't have. I'm one of those freaks who never had a hard time keeping to an exercise routine and was already pretty fit when I got the thing anyway.

It sits in a drawer uncharged now. I don't really care to get a new one

 

If you’d be willing to ship it to me that would be awesome! 😂

 

I own an Apple Watch 2. I started running last year and I really like to see my progress. I also like the stand reminder, useful for us devs as we are probably sitting most of the day.

 

I basically bought one for Pokemon Go and nothing else.

 
 
 
 

Is SwiftUI intended to be the future of UI code? Or an alternative?

 

I find myself wondering if we have strayed from the path by advertising how few lines of code you need to do a table view. Great, we're down to ten lines. What was it before? Like 20-30?

Umm... so?

And everybody says the UI is "declarative" but it doesn't mean it's any less complex than it was before. We're just doing a better job of hiding said complexity.

I'm fine with it so long as we have an escape hatch and aren't forcing developers to use this reactive thing for like every part of the app. Imperative programming just is the more fundamental thing here, and it isn't going away. Hardware is itself imperative.

 

Hiding the complexity is being less complex. Regardless of whether you’re using a functional/declarative or imperative paradigm, if you’re using a modern “high level” programming language you’re relying on abstractions that exist to move the burden of micromanaging to the computer and give the developer the task of architecting the program. The existing UIKit API has a much greater gulf of abstraction between the Swift that is written and the atomic instructions that are carried out than SwiftUI and UIKit may potentially have, and the gulf there exists to allow innumerable compiler and runtime optimizations. To me, it’s similar to saying that handwriting individual operations of exponentiation on binary numbers numbers is less complex than doing 356 in just because it’s closer to the metal

It's only less complex if it isn't a leaky abstraction and the guts aren't spilling up into the higher levels in a way that makes you have to reckon with the complexity anyway (except now you don't have any control because you're constrained by the higher level expressions).

A solid example of this leakiness, in my experience, is React Native. It was advertised as a simple abstraction to do cross-platform mobile development, but it was so riddled with bugs and build problems that you had no choice but to care about what's going on a few levels down in its guts. This is the kind of thing I take issue with.

So it's not that I am against abstraction. It is clear that there is a level of abstraction that is useful. There really is a difference between handwriting ones and zeros and writing C/C++.

But there also has to be some limit we can reach where we've gone too far. That's because at the highest levels of abstraction it's just true that you have fewer degrees of freedom. There is simply less you can do because you are limited to the handful of high level ways you can express what ultimately become instructions to a machine.

I just don't think declarative UI is that big of a leap. It's not going from machine instructions to C. It's going from some thing that takes me a few minutes to another thing that takes me the same time minus a few more minutes. It "solves" a problem I never really had.

 

I'm curious to see how this will work with network requests etc. Also, I always thought to myself "If someday, Apple releases something like RxSwift, all those apps that depend heavily on it, will have a hard time migrating the app." Never actually believed this would happen, any time soon. Really excited to try this!

 

Apple always kicks these things off with more visceral things. In the past, it was videos of store openings, or content related to music on iTunes, etc. These days now that they're doing their own content, we can expect this to always be how they kick these things off.

 

All I want is a Macbook Pro without the touch bar and a great keyboard :(

Why hast thou forsaken me Apple :P ?

 

This. I basically want my 2015 Macbook Pro in the same exact form factor (no new features) but with the hardware upgraded.

 
 

Anyone else think RxSwift's popularity will die now that it's not the goto native reactive UI framework?

 

USD 5000 for a display without a stand? That‘s a joke right?

 

It's really not. The presenter that introduced it talked about how it beats $43k monitors in every metric that matters. Literally no other monitor in the world right now matches its specs for with a 4-figure price tag.

I'm not sure how much of a monitor aficionado you are, but once you get past mainstream quality (even 4th-quintile quality), price shoots up unbelievably fast. I'm talking double the price for improvements most of us wouldn't even notice, let alone be able to appreciate. Graphic design and animation are much different worlds from typical web development.

 

Why does the new Mac Pro look like a cheese grater from side view… 😂

 
 
 

Yeah, we probably should have that for this stuff. We have 90% of the functionality built for this kind of thing. We haven't effectively deployed it yet.

(And then there's the Ninety-Ninety law of software development)

The first 90 percent of the code accounts for the first 90 percent of the development time. The remaining 10 percent of the code accounts for the other 90 percent of the development time.

 

It’s interesting to see how HomeKit has a pretty limited hardware component and is more so a software product which runs on other peoples’ hardware. Exactly what Apple always avoided when Jobs was around (for better or worse)

 

I hate these kinds of attendees. They clapping everything. Even if the speaker told, "Android better than iOS".

 
 

Those link previews will have an interesting impact on web development, same for split-window view

 
 
Classic DEV Post from Jun 23

Being a Female Programmer: How is it For You?

This probably depends on where we live and work, but personally, I have not experienced anything negative for being a female programmer in my few years of career.

Peter Kim Frank profile image
Working on a bit of everything at DEV.