For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | more chhum's commentsregister

I found this really interesting. Many of the practices which agile promotes - stand-ups, pair programming and so, are decidedly ableist - not surprising given the make-up of the people who originally promoted it. Good to see some discussion around this finally.


+1 I found the article fascinating. I interviiewd Stephen for a podcast last year mainly talking about language design (https://www.infoq.com/podcasts/wolfram-language-mathematica/) and found him to be both extremely charming, very interesting, and extremely smart. He was an absolute pleasure to interview and I would have loved to have talked for longer.


I've not seen this discussed much. "When a leader is experiencing significant emotional upset, when they are stressed or ill, their shadow side can emerge. Hogan called this their 'dark-side’ behaviours, which can cause leadership to derail..."



Interesting to see how Swift-inspired this feature is.


Java has been inspired by many other languages... and continues to take good features and ideas from other languages...


It seems to be using a somewhat similar concept it calls "incidental white space", in order to limit the embedding of leading whitespace (unlike Python which just stores the entire triple-quoted string as-is), but is more permissive:

Text content can be indented less than the trailing delimiter, which I understand is an error in Swift

    String html = """
    ..............<html>
    ..............    <body>
    ..............        <p>Hello, world</p>
    ..............    </body>
    ..............</html>
    ..............    """;
The trailing delimiter can also be on the same line as the final content, which suppresses the final (new)line:

    """
    line 1
    line 2
    line 3"""
translates to

    "line 1\nline 2\nline 3"
whereas

    """
    line 1
    line 2
    line 3
    """
translates to

    "line 1\nline 2\nline 3\n"
I believe this requires escaping the newline in Swift instead (nb: according to the JEP this would also work in Java).


Slash at the end of the line serve the same purpose in Java


> Slash at the end of the line serve the same purpose in Java

As I wrote in my comment, yes.


More likely from Kotlin. The only difference is % instead of $. They also grabbed Kotlin's data classes (records in java).

Lots of cross pollination.


As the article says, they examined lots of languages, not just Kotlin (it would be arbitrary to confine their research to JVM languages..)

>> While Java could not adopt the Swift approach wholesale because of existing language constraints, the Java approach took as much inspiration from the good work that the Swift community did as we could -- and left room to take more in the future.


Seen this in Scala too.


They sort of do answer it here: "Swift benefits greatly from being an embedded part of Apple's ecosystem, but it also provides challenges for its organic growth as there's a lot of dependency on Apple for capabilities that the server ecosystem requires. For example, almost all Swift developers use Apple's Xcode as their IDE and it has fantastic support for developing for iOS devices, including the ability to run locally in emulator environments. It would be great to add support for writing server code that allows developers to develop directly into containerized environments from their local IDE by supporting the simple integration into Xcode of development tools such as Appsody. Where there is open governance and open ecosystems, it enables the community to contribute and to solve the problems and use cases that are important to them."


I was pretty blown away by this talk https://www.infoq.com/presentations/autocad-webassembly/ on Autocad porting their (30 year old) code base to the web via WASM.


It's tempting to suggest that maybe Java has enough logging frameworks.


Interesting to see more and more dicussions of programming and ethics emerging. This is a great read


There's a good summary of this release here: https://www.infoq.com/news/2017/09/swift-4-official-release


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search:

HN For You