Alberto,
CoffeeScript is a popular language that is widely considered to represent
JavaScript's best bits, and it only has anonymous functions, so there's a
large part of the JS community that disagrees with you there.
Browsers actually do identify anonymous functions, based on the
variable/prope
On 12 August 2017 at 06:10, Chris Barker wrote:
>
>> > Taking this off the list as it's no longer on topic.
>
>
> not totally -- I'm going to add my thoughts:
>
> 1) If you want a smoother transition between server-side Python and
> in-browser code, maybe you're better off using one of the "pytho
> "Carl" == Carl Smith writes:
Carl> Using lambdas doesn't solve the problem. I just kept the example
short, but
Carl> had I used more than one expression in each function, you'd be back to
Carl> square one. You took advantage of the brevity of the example, but
it's not
Carl
> "Chris" == Chris Angelico writes:
Chris> On Sat, Aug 12, 2017 at 6:31 AM, Alberto Berti
wrote:
>> As of now, I do nothing. As I said, the goal of the tool is not to
>> shield you from JS, for this reason it's not meant for beginners (in
>> both JS or Python). You always m
Hi Jason, and welcome!
On Fri, Aug 11, 2017 at 04:57:46PM +0200, Jason H wrote:
> Before I done my firesuit, I'd like to say that I much prefer python
> and I rail on JS whenever I can. However these days it is quite common
> to be doing work in both Python and Javascript. Harmonizing the two
> "Carl" == Carl Smith writes:
Carl> Using lambdas doesn't solve the problem. I just kept the example
short, but
Carl> had I used more than one expression in each function, you'd be back to
Carl> square one. You took advantage of the brevity of the example, but
it's not
Carl
On Sat, Aug 12, 2017 at 10:15 AM, Carl Smith wrote:
> Using lambdas doesn't solve the problem. I just kept the example short, but
> had I used more than one expression in each function, you'd be back to
> square one. You took advantage of the brevity of the example, but it's not
> realistic.
>
> T
Using lambdas doesn't solve the problem. I just kept the example short, but
had I used more than one expression in each function, you'd be back to
square one. You took advantage of the brevity of the example, but it's not
realistic.
There are lots of language specific features that library authors
> "Carl" == Carl Smith writes:
Carl> Python is not a good fit for the browser, in part, because of the
syntax.
Carl> JavaScript has issues, but its syntax is better suited to creating
GUIs in
Carl> the browser.
Just so?
Carl> For example, in browsers everything revolves ar
Python is not a good fit for the browser, in part, because of the syntax.
JavaScript has issues, but its syntax is better suited to creating GUIs in
the browser. For example, in browsers everything revolves around a single
threaded event loop, so you have a lot of callbacks and event handlers,
whic
On Sat, Aug 12, 2017 at 6:31 AM, Alberto Berti wrote:
> It's not really so confusing, most code I wrote with it it's perfectly
> understandable Python code. For me, one thing is the language, one other
> thing are the libraries or the builtin classes it's usually shipped
> with.
>
> The tool reads
> "Chris" == Chris Angelico writes:
Chris> Speaking as someone whose day job is teaching Python and
Chris> JavaScript,
I have some "I'm a good teacher" stickers laying somewhere, do you want
me to send them to you so you can put them somewhere?
Chris> I don't like the idea of
> > Taking this off the list as it's no longer on topic.
>
not totally -- I'm going to add my thoughts:
1) If you want a smoother transition between server-side Python and
in-browser code, maybe you're better off using one of the "python in the
browser" solutions -- there are at least a few viab
On Sat, Aug 12, 2017 at 5:47 AM, Chris Angelico wrote:
>
> Taking this off the list as it's no longer on topic.
... at least, I *thought* I was taking it off list. Between me and
Gmail, some thoughts got crossed. Sorry!
ChrisA
___
Python-ideas mailing
On Sat, Aug 12, 2017 at 5:42 AM, Joao S. O. Bueno wrote:
>
>
> Well,I hope you both had at least skimmed over "brython" - it started a
> couple years ago
> with somewhat the same "won't o full Python purpose" - but nowadays they
> have a
> very conformant implementation of Python3 that is transpi
On 11 August 2017 at 16:19, Chris Angelico wrote:
> On Sat, Aug 12, 2017 at 5:13 AM, Alberto Berti
> wrote:
> > Chris> What do you do about all the places where the languages have
> > Chris> significantly different semantics? For instance, a Python
> integer can
> > Chris> store more
On Sat, Aug 12, 2017 at 5:13 AM, Alberto Berti wrote:
> Chris> What do you do about all the places where the languages have
> Chris> significantly different semantics? For instance, a Python integer
> can
> Chris> store more values than a Python float (which is broadly compatible
>
> "Chris" == Chris Angelico writes:
Chris> On Sat, Aug 12, 2017 at 3:04 AM, Alberto Berti
wrote:
>> For the goal of reducing the friction (the mind switching when working
>> with both the languages) I have created a tool (
>> https://github.com/azazel75/metapensiero.pj ) whi
On 2017-08-11 07:57, Jason H wrote:
Before I done my firesuit, I'd like to say that I much prefer python
and I rail on JS whenever I can. However these days it is quite
common to be doing work in both Python and Javascript. Harmonizing
the two would help JS developers pick up the language as well
On Sat, Aug 12, 2017 at 3:04 AM, Alberto Berti wrote:
> For the goal of reducing the friction (the mind switching when working
> with both the languages) I have created a tool (
> https://github.com/azazel75/metapensiero.pj ) which allows me to write
> valid Python and translates this to nice JS w
> "Jason" == Jason H writes:
Jason> While JS is strongly for web (Node.JS, Browsers) and Python has a
weak
Jason> showing (Tornado, Flask), Python is very popular on everything else
on
Jason> the backend where JS isn't and isn't likely to be. The I'm making
Jason> point is
On Sat, Aug 12, 2017 at 1:35 AM, Jason H wrote:
> Thank for all the feedback so far, even if it's not the most enthusiastic
> response to the ideas.
>
> One thing I missed, and I don't know how I could (total face-palm) is:
> 4. Other list methods: i.e. and specifically: [].push(item) vs [].appen
:57 AM
> From: "Jason H"
> To: python-ideas@python.org
> Subject: [Python-ideas] Towards harmony with JavaScript?
>
> Before I done my firesuit, I'd like to say that I much prefer python and I
> rail on JS whenever I can. However these days it is quite common to
On Sat, Aug 12, 2017 at 12:57 AM, Jason H wrote:
> Before I done my firesuit, I'd like to say that I much prefer python and I
> rail on JS whenever I can. However these days it is quite common to be doing
> work in both Python and Javascript. Harmonizing the two would help JS
> developers pick
> -Original Message-
> From: Python-ideas [mailto:python-ideas-bounces+tritium-
> list=sdamon@python.org] On Behalf Of Jason H
> Sent: Friday, August 11, 2017 10:58 AM
> To: python-ideas@python.org
> Subject: [Python-ideas] Towards harmony with JavaScript?
>
Before I done my firesuit, I'd like to say that I much prefer python and I rail
on JS whenever I can. However these days it is quite common to be doing work in
both Python and Javascript. Harmonizing the two would help JS developers pick
up the language as well as people like me that are stuck w
26 matches
Mail list logo