this post was submitted on 25 Jun 2023
22 points (100.0% liked)
Programming
13376 readers
1 users here now
All things programming and coding related. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Python is easy to learn and marketable. I personally prefer Ruby to Python, but Python is a good place to start. For most AAA games, it’s C++, and yes it’s horrendously complex. I vastly prefer Rust to C++. Good old C is actually a fairly small language, and only moderately difficult.
Thank you for your post, before this thread I thought that all the C named languages (c, c++ and c#) were at least similar but it looks like it's not the case.
They share a genealogy, but as programs are created and maintained in different languages, developers come to wish for different syntaxes that would (1) reduce how much code must be written to accomplish a common logical task, (2) make the code that's written easier to read/understand, (3) reduce concerns about variable types until runtime, and/or (4) overly restrict not just the variable types but also if/when variables can be modified. This list is not exhaustive.
There is a partial programming language family tree here, showing which languages influenced other languages: https://www.researchgate.net/figure/Genealogy-of-Programming-Languages_fig36_260447599
C derivatives are similar in terms of things like imperative control flow, lower-case keywords like
if
, mostly insignificant whitespace,{ }
-delimited blocks, etc., but they can be vastly different in terms of features, semantics, idioms, and typical use cases.It's like how non-programming languages can use the same Latin alphabet but be vastly different in terms of grammar and culture.