Do you think Python will be the most used programming language in the future and today?

Well, I know if I hired C++ devs I'd go broke quickly.

C++ developers (or companies) usually own large code libraries they can use for future projects. This will save time, save money and reduce the risk of bugs.

So you won't go broke if you hire an experienced C++ coder. ;-)
 
C++ developers (or companies) usually own large code libraries they can use for future projects. This will save time, save money and reduce the risk of bugs.

So you won't go broke if you hire an experienced C++ coder. ;-)
Alright. Show me some code as your profile suggests you're one of them. I am curious. Send it here instead of private message.

I was trying it 2 weeks ago and got a lot of wtfs. :D Had to stop as I'm busy with other stuff. Would be too absorbing to learn it all alone.
 
Alright. Show me some code as your profile suggests you're one of them. I am curious. Send it here instead of private message.

Hahaha, no way. ;-)

GitHub is an excellent source for C++ code. Download it (for free), compile/link it e. g. at a small Linux VPS, modify it, learning by doing.

Otherwise: Udemy (some links to free courses are at the net)

It will take you months to understand everything, but it's really worth the work. Once you know the syntax, the methods, the tricks, you will have your own syntax in your head, being able to also use it for Java, Swift or others.
 
Hahaha, no way. ;-)

GitHub is an excellent source for C++ code. Download it (for free), compile/link it e. g. at a small Linux VPS, modify it, learning by doing.

Otherwise: Udemy (some links to free courses are at the net)

It will take you months to understand everything, but it's really worth the work. Once you know the syntax, the methods, the tricks, you will have your own syntax in your head, being able to also use it for Java, Swift or others.
Yeah. It's good to learn it as it is very feature rich language out of the box. Feels like other languages inherit from this. They're even written in C.

I asked you for code / link as I don't want to overwhelm myself. Rather be safe than sorry. Learning one step at a time.

I think I should have started learning that at the age of 14. 12 years late.
 
But this just shows how you make stuff up in your head that doesn't exist in reality.
I can't agree more with you. I won't jump any more in this discussion or quote others as it triggers me too much, just wanted to thank you for writing your opinion in this thread and wanted to tell how much I agree with you.
 
True, libcurl for example is also a nice solution.
private-internal-screaming.jpg
 
I'm not sure if python can become an important language in the future, but when I learn DA I find it suitable for me.
 
I am starting out in the world of programming, taking HTML and JavaScript courses, basically to create websites from scratch.

Do you think that phyton is more important than these that I mentioned before? And could those languages that I mentioned before be stopped being used? What do you think? (Im speaking in relation of the creation of websites and APY for this).
as you mentioned "to create websites from scratch" then PHP is the best language you have to choose along with Codeigniter or Laravel frameworks to build web apps.
 
Considering the technology and AI tools are developing. website creation and designing will be totally customizable with simple commands.
 
I'm just a scripter. And I will choose Django for my next web interface if I do ever any.

Some time ago I learned that I wasted time doing web dev instead of focusing on the money machine.

Don't want to waste my time on making C++ to work as I want it to.

Maybe I will do C# but that's too much too for a scripter.

Seems TypeScript is an optimal solution on node.js.

Very good for startups and people like us who want to do stuff quickly.

I'd be happy to outsource a lot of my work. Well, I know if I hired C++ devs I'd go broke quickly.

Java and C# are fine if you want to go "deeper" than Python and JavaScript.

Just saw you'd replied to me now.

I'd really let go of this "just a scripter" thing.

Trust me, the term "scripter" is OLD. It's from the 80's and 90's and just stuck around.

Python is NOT scripting, despite the fact you'll see casual terminology around the web to this day even from experienced people who'll use the word.

It is an incredibly powerful, part compiled and part interpreted, general purpose, garbage collected, strongly typed, dynamically typed OO language.

It has multiple types of polymorphism, including duck typing, operator overloading, method overriding, method overloading

It has multiple inheritance, mixins, abstract base classes, interfaces and dynamic binding of methods.

How can that possibly be scripting?

Scripting is a term from the days of Awk, Sed, Perl4, ksh scripting, bash scripting, csh scripting.

Scripts to glue things together.

Unix shell scripts that run commands, check output, connect things. These are scripts.

perl4 was a scripting language.

perl5, Python, Ruby and PHP are programming languages.

scripting languages are languages on top of something else to "script" events.

Ie, unix shell scripting. perl4 was created to make sys admin tasks easier. Not to write programs.

Scripting languages do not have garbage collection, multiple inheritance and polymorphic function overrides.

C# doesn't go deeper than Python.

I'm really open to being wrong, but you'd need to show me examples and be specific about your definition of "deeper".

C++ and C# are not harder than Python.

They're just lower level.

You'll spend more time doing things you take for granted in a higher level language. They are no more complicated.

Managing memory in C is no more difficult or easy than doing vector operations in Pandas.
 
I'm really open to being wrong, but you'd need to show me examples and be specific about your definition of "deeper".

C++ and C# are not harder than Python.

They're just lower level.
Lower level means deeper. That was the definition. It feels a little bit deeper. Plus you have static typing. Pandas is a library, not the language itself.

Maybe should say closer to metal or smth.
 
Lower level means deeper. That was the definition. It feels a little bit deeper.

Maybe should say closer to metal or smth.

Here's the problem with that definition of deeper.

I assume you also mean to say deeper = better.

Where does the deeper stop?

Next level is Assembly..

You can go deeper than that and learn actual binary.

But why? It goes back to the question, IS deeper better?

If it is, why did software engineers even bother to move beyond binary?

Or if that's maybe too extreme, why did we move beyond Assembly? We could have stuck there and had maximum control.

Because, deeper isn't better.

It's not worse either.

It's just a different tool.

You use C and Assembly when you're working close to the hardware and you need to interact with it. Hence why everyone loves to say "You can't write a kernel in Python". Great, that doesn't mean anything though..

You can't take a fighter jet under the ocean. Does that somehow change the value of it?

All deeper does if you try to use it for higher level projects is waste your time. Why didn't Netflix just code everything in Java? Why did they bother using Python? There must be a reason. These aren't stupid, inexperienced people. If they chose to use Python over pure Java or C++ everywhere, then they had a very good reason.

The hilarious thing also is that NASA uses Python a lot :-)

https://medium.com/@danielbuilescu/...nd-space-exploration-spacex-nasa-4f3d5d259888
A bit of scripting of satellites ;-)

SpaceX uses Python for self-landing. Scripting self-landing rockets baby! lol!

Plus you have static typing.

And fighter jets have wings.

You say this as if static typing is some sort of inherently powerful capability.

It was removed in higher level languages *for a reason* :-)

Static typing doesn't really have any major advantages in 2024.

Yes it can catch some early bugs, but good tests written for your code will catch this, and you should have tests for every part of your code. While I'm not a TDD fan-boy, I still understand the importance of tests.

In VS Code you can enable strict type checking with the extension Pylance, so you can have the advantages of static typing without actually needing it implemented within the language at compile time.

so again, this is just a statement..

X is Y.

It doesn't change anything. It's just an observation.


Pandas is a library, not the language itself.

This is irrelevant.

You're making an academic distinction.

Why does it matter if you implement something in standard C(which is very very small, C is a small language in comparison to C++) compared with using a library in Python?

What about if you use a library in C, is it no longer valid? Is it no longer comparable?

Can we only compare core language features to core language features?

But why? What's the advantage to that. The purpose of my comparison was to compare a REAL WORLD task of using a language.

Using the Pandas library is just as hard, in fact I'd say it's harder, than memory management in C.

And memory management in C is really the hardest thing you'll encounter in learning the language.

So my point is that it's a myth that Python is "easier".

Yes, it's easier to learn basic Python and do basic things like looping over an array and printing out the contents. 8 year olds can learn it. They won't be able to easily learn pointers in C.

But real, actual programming in Python is no easier.

Here's a real program I wrote and shared on this forum. See if you can understand it.

https://github.com/tbelfort/ai-seo-tools/blob/main/get_structure_for_classify_webpage.py
It's fully functional. I copy and pasted it into a fresh vps and ran it like this

python test1.py https://medium.com/@danielbuilescu/...nd-space-exploration-spacex-nasa-4f3d5d259888
getting page: https://medium.com/@danielbuilescu/...nd-space-exploration-spacex-nasa-4f3d5d259888
https://medium.com/@danielbuilescu/...nd-space-exploration-spacex-nasa-4f3d5d259888{'all_counts': {'a': 23,
'article': 1,
'button': 12,
'div': 173,
'figure': 1,
'footer': 1,
'h1': 2,
'h2': 3,
'img': 4,
'input': 1,
'link': 13,
'meta': 44,
'p': 27,
'path': 24,
'picture': 1,
'rect': 4,
'script': 44,
'section': 1,
'source': 2,
'span': 28,
'style': 13,
'svg': 17,
'title': 1},
'external': defaultdict(<class 'int'>, {'external_link_count': 23}),
'external_links': [{'anchor': 'Open in app',
'link': 'https://rsci.app.link/?$canonical_u..._layout_nav----------------------------------'},
{'anchor': 'Sign in',
'link': '/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2F%40danielbuilescu%2Fpython-in-space-how-python-is-powering-satellite-technology-and-space-exploration-spacex-nasa-4f3d5d259888&source=post_page---two_column_layout_nav-----------------------global_nav-----------'},
{'anchor': '',
'link': '/?source=---two_column_layout_nav----------------------------------'},
{'anchor': 'Write',
'link': '/m/signin?operation=register&redirect=https%3A%2F%2Fmedium.com%2Fnew-story&source=---two_column_layout_nav-----------------------new_post_topnav-----------'},
{'anchor': '',
'link': '/search?source=---two_column_layout_nav----------------------------------'},
{'anchor': 'Sign in',
'link': '/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2F%40danielbuilescu%2Fpython-in-space-how-python-is-powering-satellite-technology-and-space-exploration-spacex-nasa-4f3d5d259888&source=post_page---two_column_layout_nav-----------------------global_nav-----------'},
{'anchor': '',
'link': '/@danielbuilescu?source=post_page-----4f3d5d259888--------------------------------'},
{'anchor': 'Builescu Daniel',
'link': '/@danielbuilescu?source=post_page-----4f3d5d259888--------------------------------'},
{'anchor': 'Follow',
'link': '/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fsubscribe%2Fuser%2F404253426aec&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40danielbuilescu%2Fpython-in-space-how-python-is-powering-satellite-technology-and-space-exploration-spacex-nasa-4f3d5d259888&user=Builescu+Daniel&userId=404253426aec&source=post_page-404253426aec----4f3d5d259888---------------------post_header-----------'},
{'anchor': '',
'link': '/@danielbuilescu?source=post_page-----4f3d5d259888--------------------------------'},
{'anchor': '',
'link': '/m/signin?actionUrl=%2F_%2Fapi%2Fsubscriptions%2Fnewsletters%2Fd74899654fd7&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40danielbuilescu%2Fpython-in-space-how-python-is-powering-satellite-technology-and-space-exploration-spacex-nasa-4f3d5d259888&newsletterV3=404253426aec&newsletterV3Id=d74899654fd7&user=Builescu+Daniel&userId=404253426aec&source=-----4f3d5d259888---------------------subscribe_user-----------'},
{'anchor': 'Written byBuilescu Daniel',
'link': '/@danielbuilescu?source=post_page-----4f3d5d259888--------------------------------'},
{'anchor': '8.4K Followers',
'link': '/@danielbuilescu/followers?source=post_page-----4f3d5d259888--------------------------------'},
{'anchor': '',
'link': '/m/signin?actionUrl=%2F_%2Fapi%2Fsubscriptions%2Fnewsletters%2Fd74899654fd7&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40danielbuilescu%2Fpython-in-space-how-python-is-powering-satellite-technology-and-space-exploration-spacex-nasa-4f3d5d259888&newsletterV3=404253426aec&newsletterV3Id=d74899654fd7&user=Builescu+Daniel&userId=404253426aec&source=-----4f3d5d259888---------------------subscribe_user-----------'},
{'anchor': 'Help',
'link': 'https://help.medium.com/hc/en-us?source=post_page-----4f3d5d259888--------------------------------'},
{'anchor': 'Status',
'link': 'https://medium.statuspage.io/?source=post_page-----4f3d5d259888--------------------------------'},
{'anchor': 'About',
'link': '/about?autoplay=1&source=post_page-----4f3d5d259888--------------------------------'},
{'anchor': 'Careers',
'link': '/jobs-at-medium/work-at-medium-959d1a85284e?source=post_page-----4f3d5d259888--------------------------------'},
{'anchor': 'Blog',
'link': 'https://blog.medium.com/?source=post_page-----4f3d5d259888--------------------------------'},
{'anchor': 'Privacy',
'link': 'https://policy.medium.com/medium-pr...-4f3d5d259888--------------------------------'},
{'anchor': 'Terms',
'link': 'https://policy.medium.com/medium-te...-4f3d5d259888--------------------------------'},
{'anchor': 'Text to speech',
'link': 'https://speechify.com/medium?source=post_page-----4f3d5d259888--------------------------------'},
{'anchor': 'Teams',
'link': '/business?source=post_page-----4f3d5d259888--------------------------------'}],
'general': defaultdict(<class 'int'>, {}),
'header_outline': ['title:Python in Space: How Python is Powering Satellite '
'Technology and Space Exploration [SpaceX & NASA] | by '
'Builescu Daniel | Medium',
'h1:Python in Space: How Python is Powering Satellite '
'Technology and Space Exploration [SpaceX & NASA]',
'h1:Python’s Role in the Aerospace Industry',
'h2:Python, A Stowaway in Spacecrafts',
'h2:Why Python is the Star of the Show?',
'h2:Written byBuilescu Daniel'],
'internal': defaultdict(<class 'int'>, {}),
'internal_links': [],
'li_contents': [],
'li_count': 0,
'ol_count': 0,
'p_count': 27,
'sample_words': 'Sign up Sign in Sign up Sign in Member-only story',
'template_string': 'a,p,p(a),a,a,a,p,p(a),img,p,h1,a(img),p(a),p(a),p,p,img,h1,p,p,h2,p,p,h2,p,p,p,p,a(img),a,a(h2),a,p,a,a(p),a(p),a(p),a(p),a(p),a(p),a(p),a(p),a(p)',
'ul_count': 0,
'url': 'https://medium.com/@danielbuilescu/...nd-space-exploration-spacex-nasa-4f3d5d259888',
'word_count': 361}

It outputs a ton of data points about a page for training AI models for SEO. Very useful program.

See if you can understand it. It's no easier to understand than any C or C++ program.

It's quite complex in fact as I had to build a parse tree.

You see that part - 'template_string': 'a,p,p(a),a,a,a,p,p(a),img,p,h1,a(img),p(a),p(a),p,p,img,h1,p,p,h2,p,p,h2,p,p,p,p,a(img),a,a(h2),a,p,a,a(p),a(p),a(p),a(p),a(p),a(p),a(p),a(p),a(p)',


That's a simple representation of the full HTML parse tree which you can use for fine tuning.. And it works on pages no matter how complex, or no matter how deep the html is embedded
 
Lower level means deeper. That was the definition. It feels a little bit deeper. Plus you have static typing. Pandas is a library, not the language itself.

Maybe should say closer to metal or smth.
Static typing in C++ and C# is another aspect that contributes to their "depth". With static typing, types are checked at compile time, leading to potentially more efficient code and fewer runtime errors. Python, while incredibly versatile and usable, abstracts away a lot of the details. It is dynamically typed and automatically manages memory, which is great for rapid development and ease of use, but can abstract away some of the complexities of how code interacts with the system.
 
It outputs a ton of data points about a page for training AI models for SEO. Very useful program.

See if you can understand it. It's no easier to understand than any C or C++ program.

It's quite complex in fact as I had to build a parse tree.

You see that part - 'template_string': 'a,p,p(a),a,a,a,p,p(a),img,p,h1,a(img),p(a),p(a),p,p,img,h1,p,p,h2,p,p,h2,p,p,p,p,a(img),a,a(h2),a,p,a,a(p),a(p),a(p),a(p),a(p),a(p),a(p),a(p),a(p)',


That's a simple representation of the full HTML parse tree which you can use for fine tuning.. And it works on pages no matter how complex, or no matter how deep the html is embedded
That's what I and some call a script - a short program - a part of a bigger scheme. That's our silly definition. 3k+ lines and I call it a program.

People know what a parse tree is, but rarely they implement it in practice.

I can't. I made a mistake of learning frameworks instead of computer science.

I was trying to make GPT-3 work well in the early days. Without understanding and knowing algorithms it was a big headache. I quit.

Still have to learn a lot.
Yes it can catch some early bugs, but good tests written for your code will catch this, and you should have tests for every part of your code. While I'm not a TDD fan-boy, I still understand the importance of tests.
Never did that. Afterall, as a scripter I wouldn't follow any good practices unless I learned from mistakes and decided to use them to ease my pain.

I switched from JS to TypeScript, so I can see what's happening more clearly. It's better experience.

Last pack of scripts I created (about 10k lines) had absolutely no tests. I was wondering where is the bug. TypeScript helped a little bit, but it wasn't enough at that number of lines.
Yes, it's easier to learn basic Python and do basic things like looping over an array and printing out the contents. 8 year olds can learn it. They won't be able to easily learn pointers in C.
I learned this as a first language 6 years ago. I think it took me a month.

I gave it up when I started learning Pandas. Really hard and requires to have a plan. I learned Python from sheer curiosity.

When you introduce someone to Pandas and similar in their early days, it's just a bunch of wtfs. It's like kids learning math at school. They have to but they don't know why.

It seemed so useless to me 6 years ago. So I swtiched to JS due to practical use on the internet.

Today... I could make use of it if I had a goal. And I agree it's as hard to understand as all that advanced C stuff for beginners.

SpaceX uses Python for self-landing. Scripting self-landing rockets baby! lol!
They're so crazy. Just check Elon's Twitter.
 
Back
Top