|
Been learning it for the past couple of months on and off. Steep learning curve - mainly due to having to think differently re: ownership, borrowing and lifetimes. They don't seem so bad when you're just reading along and following their examples. But then you try writing your own code and all hell breaks loose!
The error messages are very good though.
If I recall, you're a heavy C++ guy right? I've not used it for well over a decade now. I know Modern C++ is a different beast. How does it match up with Rust?
Kevin
|
|
|
|
|
Eh, I don't have much opportunity to use modern C++. It's all legacy code. Who would start a new project with C++ nowadays
|
|
|
|
|
I can fix student problems in Python, despite not knowing the language, or ever reading a book or tutorial on it - but I've never felt the need to actually write code in it: there are much better solutions available.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
On the whole, I'm with you on this ... although lately I've been looking towards Python as a way of augmenting some of our lo-code/no-code "solutions" (for "augmenting" read "adapting for use on a computer"), as it appears I might be able to use it at work if I jumpt through a sufficient number of hoops. Mainly though I've been picking up bits of Python to support a colleague who has to use it for his MSc studies in Data Science.
Like you, I don't know the language, never read a book on it, never worked through a tutorial on it either.
A friend once said that they believed a certain generation were born knowing all the lyrics to all the Beatles songs. Perhaps there is a generation that are born having the ability to script in all these new "languages"
|
|
|
|
|
CHill60 wrote: Perhaps there is a generation that are born having the ability to script in all these new "languages
Possibly to offset those of the current generation who appear to have an inability to script in any language ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Python can be very useful for prototyping IoT stuff (like sensors) and to test surveillance cameras. Would you call that programming?
I suppose one can go back to the old argument of "is doing something with a scripting language really programming?" or "if it doesn't compile/link to machine code, it ain't a program" (that includes you C#). I cut my teeth with assembler, couldn't code my way out of a wet paper bag with it today. Anyone remember the real debug?
0ADF:0100 74 13 3A C4 75 0F 80 3E-25 99 00 74 08 FE 06 63 t.:.u..>%..t...c
If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.
|
|
|
|
|
theoldfool wrote: Anyone remember the real debug?
Come in embedded development, where oscilloscope debugging is still a damn @#$!*) thing and being able to skip it and jump to assembly debugging is happy news.
Come to embedded development, we no longer have cookies but follow a healthy diet of antidepressants, alcohol, anxiolitycs and coffee beans (for maximum extraction).
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
Ah, the land of the unwashed. Remember it well.
If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.
|
|
|
|
|
OriginalGriff wrote: there are much better solutions available.
Depends on the problem domain. For AI and ML there aren't "better solutions available."
Kevin
|
|
|
|
|
Read the names for the first time today.
|
|
|
|
|
I have only heard of: Rust, Python, and Go. Haven't used any of those three.
|
|
|
|
|
Same here, though I did some reading about Rust.
|
|
|
|
|
Yeah, me too. I've heard of Go and Rust and have written some Python. The rest, WTH???
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."
-- Marcus Brigstocke, British Comedian
|
|
|
|
|
Same here.
Life is a computer program and everyone is the programmer of his own life.
|
|
|
|