Post ARBQMmp9VNeg9WNSSW by KansasGrant@techhub.social
(DIR) More posts by KansasGrant@techhub.social
(DIR) Post #ARAL9WbvmS99At5f6W by pwaring@fosstodon.org
2022-12-31T12:26:43Z
0 likes, 0 repeats
Currently pondering what programming languages to focus on in 2023. I'm an expert in PHP, and there's plenty of it around, but broadening my horizons seems sensible from a personal development and business perspective (also PHP has the problem of being seen as a 'cheap' language, with lower rates).Potential contenders include: Go, Rust, C and Python.#golang #rust #python
(DIR) Post #ARAL9XMMznIFUuokUK by penguin42@mastodon.org.uk
2022-12-31T12:33:36Z
0 likes, 0 repeats
@pwaring While I've programmed C for nearly 35 years, I couldn't recommend it for a new project now; mind you I need to spend more time on Rust, it's going to take a while before it's instinctive for me. Python is pretty much the universal glue now - so while again I'd say I'm not great at Python, I can get by in it, it's certainly worth knowing some.
(DIR) Post #ARALWltp6VfxFfXnYO by pwaring@fosstodon.org
2022-12-31T12:37:47Z
0 likes, 0 repeats
@penguin42 Most of my PHP work is in legacy code, so C would also be useful in that respect (I wouldn't use it for a new project, but there's obviously a lot of it around that needs maintaining).
(DIR) Post #ARAMNHppc58nMAiaNU by penguin42@mastodon.org.uk
2022-12-31T12:47:19Z
0 likes, 0 repeats
@pwaring Yeh that's fair, and I'd say C isn't that hard to learn - it's a pretty small language and standard library
(DIR) Post #ARAMjyAgt7FN21I65o by pwaring@fosstodon.org
2022-12-31T12:51:23Z
0 likes, 0 repeats
@penguin42 What I've found in the past with C is the same as Perl - learning the language isn't too hard, but learning how to read someone else's code is!
(DIR) Post #ARARlcpXhiidC30YKm by penguin42@mastodon.org.uk
2022-12-31T13:47:42Z
0 likes, 0 repeats
@pwaring Yeh, you can write clear C code, but a lot isn't; strangely as well, the lack of the equivalent of big standard libraries/repos for crates etc means there's a bit more variety in how people do things.
(DIR) Post #ARBQMmp9VNeg9WNSSW by KansasGrant@techhub.social
2023-01-01T01:06:43Z
0 likes, 0 repeats
@penguin42 @pwaring I do safety-critical embedded programming, and C is what we use. We could also use C++ except that management has decided against it.Anyway, C and C++ rule the world of embedded programming. We also use Python for system tests and to create miscellaneous tools.
(DIR) Post #ARBQajiJrj9oYopiOu by penguin42@mastodon.org.uk
2023-01-01T01:09:15Z
0 likes, 0 repeats
@KansasGrant @pwaring Yeh my day work is mostly in C but bits of it are starting to look at Rust, which I find encouraging.