Live data from Hacker News

Show HN: Making Python one-liner-fit with the new pwk (Python With Kurly braces)

github.com

1–10 of 78 posts

Re: Show HN: Making Python one-liner-fit with the new pwk (Python With Kurly braces)

#3
post #2

> Python With Kurly braces I wasn't aware of this. I guess it might silence a few critics. However I'd be much more interested to try "Javascript with semantic white space"

How would JS with semantic whitespace difference from just auto-indenting a JS file?

Re: Show HN: Making Python one-liner-fit with the new pwk (Python With Kurly braces)

#4
post #2

> Python With Kurly braces I wasn't aware of this. I guess it might silence a few critics. However I'd be much more interested to try "Javascript with semantic white space"

We tried that for a while, yeah? https://coffeescript.org/

Re: Show HN: Making Python one-liner-fit with the new pwk (Python With Kurly braces)

#5
post #4
post #2

> Python With Kurly braces I wasn't aware of this. I guess it might silence a few critics. However I'd be much more interested to try "Javascript with semantic white space"

We tried that for a while, yeah? https://coffeescript.org/

Oh god. You're right. I'd blotted that out of my memory.

Re: Show HN: Making Python one-liner-fit with the new pwk (Python With Kurly braces)

#6
post #2

> Python With Kurly braces I wasn't aware of this. I guess it might silence a few critics. However I'd be much more interested to try "Javascript with semantic white space"

How would JS with semantic whitespace difference from just auto-indenting a JS file?

It would look nicer.

Re: Show HN: Making Python one-liner-fit with the new pwk (Python With Kurly braces)

#7
This meaningful whitespace thing in python is dreck. Hate it. I am not a python hater; this is from experience on projects (though this is now less of a problem because of IDE help). I like python and I choose it for my personal projects. I will probably use this.

Re: Show HN: Making Python one-liner-fit with the new pwk (Python With Kurly braces)

#8
post #2

> Python With Kurly braces I wasn't aware of this. I guess it might silence a few critics. However I'd be much more interested to try "Javascript with semantic white space"

How would JS with semantic whitespace difference from just auto-indenting a JS file?

Lamdas and first-class functions might make it pretty ugly, I definitely write `func(arg1, arg2, (res) => console.log(res))` from time to time

Re: Show HN: Making Python one-liner-fit with the new pwk (Python With Kurly braces)

#9
post #6

Earlier quoted context omitted.

How would JS with semantic whitespace difference from just auto-indenting a JS file?

It would look nicer.

Semantic whitespace looks nicer than non-semantic whitespace?
Post reply on HN