Page 6 of 16

Re: Python tricks

Posted: July 9th, 2019, 4:38 pm
by ISayMoo
If you expect every language to work like C#, why not stick to C#?

Python is different from C# which is different from JavaScript which is different from C which is different from VBA which is...

Let 1,000 languages bloom!

Re: Python tricks

Posted: July 9th, 2019, 4:53 pm
by katastrofa
Python is a scripting language and C# is a programming language, ISayMao :-P

Re: Python tricks

Posted: July 9th, 2019, 5:03 pm
by Cuchulainn
If you expect every language to work like C#, why not stick to C#?

Python is different from C# which is different from JavaScript which is different from C which is different from VBA which is...

Let 1,000 languages bloom!
Oh dear boy! 
You missed the point.

Re: Python tricks

Posted: July 9th, 2019, 5:45 pm
by Cuchulainn

Let 1,000 languages bloom!
Dominic Connor calls them 'quiche languages'.
Any language is OK when mucking around with throwaway software prototypes.
Research and production have little in common. Compare 60 m sprinters and marathon runners.

Re: Python tricks

Posted: July 9th, 2019, 8:35 pm
by Cuchulainn
Image

Re: Python tricks

Posted: July 9th, 2019, 8:40 pm
by katastrofa
Image

Re: Python tricks

Posted: July 9th, 2019, 8:47 pm
by Cuchulainn
Our cats hunt at night and bring dead, headless field mice to our bedroom. But they have scraps with foxes here in Cooley.

Re: Python tricks

Posted: July 9th, 2019, 9:13 pm
by ISayMoo

Let 1,000 languages bloom!
Dominic Connor calls them 'quiche languages'.
We haven't seen him around for a while, have we?
Any language is OK when mucking around with throwaway software prototypes.
Research and production have little in common. Compare 60 m sprinters and marathon runners.
Right. So because you had problems with writing a red-black tree in Python, it's clearly useless as a programming language...

Note to the experts here dissing Python: unlike some of you, I actually make a living coding in Python ;-) and not because I don't know C++ either. I can use both (and more), depending on what needs to be done.

Image

Re: Python tricks

Posted: July 9th, 2019, 9:14 pm
by ISayMoo
Image
Fully agree. That's why your attempt to copy & paste Boost template code into Python interpreter didn't work.

Re: Python tricks

Posted: July 9th, 2019, 9:21 pm
by tagoma
If you expect every language to work like C#, why not stick to C#?

Python is different from C# which is different from JavaScript which is different from C which is different from VBA which is...

Let 1,000 languages bloom!
Oh dear boy! 
You missed the point.
What is your point? (intercultural differences?)

Re: Python tricks

Posted: July 9th, 2019, 9:25 pm
by Cuchulainn
So because you had problems with writing a red-black tree in Python, 

I wouldn't dream of it; a round of croquet is better. 
rb trees is for CS trained folk.

Re: Python tricks

Posted: July 9th, 2019, 9:45 pm
by katastrofa
[...]
Note to the experts here dissing Python: unlike some of you, I actually make a living coding in Python ;-) and not because I don't know C++ either. I can use both (and more), depending on what needs to be done.
Python hacking, C++ hacking, ... p-hacking? ;-)
I'm using Python too (for initial data analysis). It's just as buggy as Matlab.

Re: Python tricks

Posted: July 9th, 2019, 10:10 pm
by ISayMoo
I'm part of the "Hackers against p-hacking" collective.

Re: Python tricks

Posted: July 9th, 2019, 10:27 pm
by katastrofa
You've been trained by statistics ninja
Image

One thing that annoys me: afaik, it's C♯ (sharp) not C# (hash).

Cuchulainn:

Let 1,000 languages bloom!
Dominic Connor calls them 'quiche languages'.
My excellent healthy vegan fennel and broccoli quiche with cashew béchamel makes you LISP like a child.

Re: Python tricks

Posted: July 10th, 2019, 6:25 am
by ISayMoo
I learned from the best!