this post was submitted on 25 Jun 2023
19 points (100.0% liked)

Programming

13362 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
 

Hello friends, the title is mostly self explanatory. I would like to start programming but I also feel like I am not very smart, so I would like a programming language that is easier to grasp than others. That considered I don't hope to be able to learn something "powerful" but it would be nice to still be able to do some useful things. Something I would love to do is make games, I know those are usually made in C, which is a very difficult one, but maybe some simpler games can be made with other languages.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 year ago (1 children)

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.

[–] [email protected] 3 points 1 year ago (2 children)

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.

[–] [email protected] 1 points 1 year ago

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

[–] [email protected] 1 points 1 year ago

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.