r/learnprogramming • • 17h ago

Is it a good option to start studying programming at 30? And if the answer is yes, what are the first steps?

83 Upvotes

I just moved to the United States and work in construction, which is truly exhausting. I studied industrial engineering in my home country, but I’ve noticed that many of the people I work with are programmers (we remodel their houses). I once asked them how I could become a programmer, but they told me that AI has become so advanced that there’s no work left for programmers. I used to program in MATLAB for some of my courses, but I really want to build a better future for my wife and myself.
Thanks for reading (:


r/learnprogramming • • 4h ago

Topic Is learning programming still worth it in this generation?

30 Upvotes

I've been wondering how people feel about learning programming in 2026.

With AI tools becoming so powerful, we can now generate code, build small applications, and solve problems just by giving prompts.

But does that mean beginners should still spend time learning programming languages like Python, Java, C++, or JavaScript?

Some people say understanding programming fundamentals is more important than ever, while others believe AI will handle most of the coding in the future.

For someone starting from zero today:

  • Which programming language would you recommend learning first?
  • Is it still important to learn DSA and problem-solving?
  • Should beginners focus on coding or learning AI tools?
  • What skills will actually matter for software developers in the next few years?

Would love to hear opinions from experienced developers and beginners who are learning right now.


r/learnprogramming • • 22h ago

If I need to make a local or public app what back-end knowledge should I have

9 Upvotes

I still can't understand back-end, like how do I make the server or database, do I need to learn php, what are the other options, where so i start start ?? It always felt overwhelming to learn and still is.


r/learnprogramming • • 6h ago

Resource Java

7 Upvotes

Does anyone have any good learning path in java along with spring boot and it's continuation with resources


r/learnprogramming • • 18h ago

Tutorial How can I become good at problem solving?

7 Upvotes

After getting a task some programmers just starting writing the code, while writing the code they understands all the logic behind that...how can i achieve that level of skill?


r/learnprogramming • • 1h ago

T - genuinely falling so behind in my classes. How do u all catch up without losing your mind?

6 Upvotes

bro i missed like 3 lecturess and now i am so so behind with 5 assignments due for the next monday and some coding lab work is due on friday. Now every time I sit down to start i just freeze and end up leaving it and doing nothing.


r/learnprogramming • • 8h ago

Data Analysts with experience, what should I learn next? Feeling stuck and unsure about my growth.

4 Upvotes

Hey everyone,

I've been working as a Data Analyst, and lately, I feel like I'm stuck in the same place. I know and have worked with SQL, Python, Power BI, Tabular Models, and Azure Database, but despite knowing these technologies, I still feel like I don't know enough.

I want to learn something new that will actually help me grow as a Data Analyst and become better at what I do.

For those who have been working in data analytics for a while:

- What skills or technologies do you think are worth learning next?

- What are some skills that are becoming increasingly important in the industry?

- Should I focus on advanced SQL, Python, data engineering, cloud technologies, machine learning, or something completely different?

- What do you wish you had learned earlier in your career?

I'm not necessarily looking to collect more technologies on my resume. I genuinely want to improve my knowledge and become a better analyst.

Would appreciate recommendations from people who have been through this stage in their careers.


r/learnprogramming • • 16h ago

Does Maths matter?

4 Upvotes

A big issue that I'm starting to see as I'm going through my studies in IT(software engineering) is the painful math module my college has us do.

It is a cause for concern as my math is below par, however I'm deeply in love with programming.

Personally I dont see a need for it, however some people do say its there to assist with the 'problem solving' part of the subject.


r/learnprogramming • • 21h ago

Need help on DB2 design

2 Upvotes

Problem Statement

We have a transaction history table (CARDTXNHIST) used by a banking application to display customer transactions.

​The daily batch process consists of two stages:

​Unstatemented Transactions (Code = 2) batch file → TEMP table → View → CARDTXNHIST

​Existing Code=2 records are deleted and refreshed

​Statemented Transactions (Code = 3)

​Separate batch file → TEMP table → View → CARDTXNHIST

​Statemented records are loaded after unstatemented processing

​The batch window runs approximately between 4 AM and 9 AM.

​Observed Issue

On statement cycle dates, the incoming unstatemented dataset may be empty because all eligible transactions have been statemented.

​As a result:

​Code=2 transactions are removed/refreshed

​Code=3 transactions are still being processed

​During this period, customers may see no transaction history in the application, even though the transactions still exist within the batch pipeline.

​Objective

We are looking for database/application architecture approaches that can eliminate or minimize this visibility gap while the batch is in progress.

​Solutions Under Consideration

​Retaining Code=2 records until Code=3 processing completes

​Shadow table / table-swap approach

​Composite views

​Deferred commit strategy

​Reading from staging/view sources during batch processing

​Data archival and performance optimization

​Other database design recommendations

​Questions

​What would be the recommended design pattern to ensure customers always see a consistent transaction history?

​How have similar large-scale batch processing systems solved this "delete-before-republish" visibility gap?

​Are there DB2-specific approaches (isolation levels, shadow tables, transition tables, view-switching, etc.) that would be suitable for this scenario?

​If you'd like to adjust the length or add any extra context (like table volume or specific DB2 version) before posting, let me know!


r/learnprogramming • • 16h ago

Looking for people interested in Data Engineering!

1 Upvotes

Looking for people interested in Data Engineering!

Hey everyone!

I'm looking to connect with people who are interested in Data Engineering, whether you're just starting out, currently studying, or already working in the field.

I'm currently learning and working with technologies like Python, SQL, dbt, Databricks, PySpark, and Microsoft Fabric. I'd love to meet people who are exploring similar technologies or are simply passionate about data in general.

The idea is to build a small network of like-minded people where we can:

  • Discuss Data Engineering concepts and technologies.
  • Share projects, resources, and useful materials.
  • Exchange ideas and help each other learn.
  • Talk about our experiences and challenges.
  • Maybe even work on some projects together!

Looking forward to meeting some of you!


r/learnprogramming • • 22h ago

Trying to understand type of data from the windows library and getting registries attributes in C++

1 Upvotes

Good morning everyone, I'm having an hard time to understand properly the conversion i could do, without resorting an incredible amount of if else's, of data retrieved with the api windows function
RegGetValueA. From what i understood this function, given the specific attribute we are searching, will give you data from the registry of interest, to give more context a registry is something that windows uses to store specific data regarding the system, I'm not very sure though, because i mostly program on linux systems.
Given the promise i would like to explain my problem. I'm trying to retrieve for example on the following registry path:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"

an app and it's attributes for example, the first steps of getting the apps are already done if you want to check the code here it goes, but you can skip it since it works, it's just for context:

std::tuple<std::error_code, entity::ExtendedInfo> GetApplications() {
  const string sName = "applications";
  HKEY hKey = nullptr;
  // (ln) needed path in order to retrieve app data info
  std::list<std::string> hPaths{
      "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall",
      "SOFTWARE\\WOW6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall",
  };
  std::list<std::string> vKeys{"IdentifyingNumber", "DisplayName", "DisplayVersion", "InstallLocation", "InstallSource",
                               "Language",          "Publisher",   "InstallDate",    "UninstallString"};
  // (ln) registries to check to retrieve apps info
  std::vector<HKEY> hRegistries{HKEY_LOCAL_MACHINE, HKEY_CURRENT_USER};
  std::vector<string> retrieved_apps_tmp;
  std::vector<std::unordered_map<std::string, std::string>> apps_with_attributes;
  entity::ExtendedInfo oExtInfo{sName, vKeys};
  for (const auto registry : hRegistries) {
    for (const auto& path : hPaths) {
      if (::RegOpenKeyExA(registry, path.c_str(), 0,
                          KEY_READ,  // here we set the security level
                          &hKey) == ERROR_SUCCESS) {
        retrieved_apps_tmp = FillAppsVector(hKey);
      }
      ::RegCloseKey(hKey);
      // getting attributes for app
      for (const auto& app_name : retrieved_apps_tmp) {
        std::string path_to_app = std::string(path) + "\\" + app_name;
        if (::RegOpenKeyExA(registry, path_to_app.c_str(), 0,
                            KEY_READ,  // here we set the security level
                            &hKey) == ERROR_SUCCESS) {
          FillAppAttributes(hKey, apps_with_attributes, app_name, vKeys);
        }
        ::RegCloseKey(hKey);
      }
    }
  }

  // instead of iterating again do this operation directly in FillAppAttributes
  for (auto app : apps_with_attributes) {
    if (app["InstallDate"].length() >= 8) {
      app["InstallDate"] = app["InstallDate"].substr(0, 4) + '-' + app["InstallDate"].substr(4, 2) + '-' +
                           app["InstallDate"].substr(6, 2);
    }
    // trying to force values
    // identifying number is not used in AddEntry
    oExtInfo.AddEntry(std::list<std::string>{app["IdentifyingNumber"], app["DisplayName"], app["DisplayVersion"],
                                             app["InstallLocation"], app["InstallSource"], app["Language"],
                                             app["Publisher"], app["UninstallString"], app["InstallDate"]});
  }
  //data ok, uninstall ok, publisher ok, language ok,
  return make_tuple(error_code(), oExtInfo);
}

It has to return a tuple to accommodate some other code since I'm working on a team.
This is the function that helps retrieving a vector of apps after listing them with RegEnumKeyA:

static std::vector<std::string> FillAppsVector(const HKEY hKey) {
  CHAR achKey[255];
  DWORD cSubKeys = 0;
  // DWORD cValues = 0;
  std::vector<std::string> installed_apps;

  DWORD retCode = ::RegQueryInfoKey(hKey, nullptr, nullptr, nullptr, &cSubKeys, nullptr, nullptr,
                                    nullptr,  // number of values associated with the key
                                    nullptr, nullptr, nullptr, nullptr);

  // we enumerate all subkeys until RegEnumKeyEx fails
  if (cSubKeys && retCode == ERROR_SUCCESS) {
    for (DWORD i = 0; i < cSubKeys; i++) {
      constexpr DWORD cbName = sizeof(achKey);  // reset it in order to avoid to have the last string length
      // use RegEnumKey = less arguments
      retCode = ::RegEnumKeyA(hKey, i, achKey, cbName);
      if (retCode == ERROR_SUCCESS) {
        installed_apps.emplace_back(achKey);
      }
    }
  }
  return installed_apps;
}

And at the end I've done a function to help me retrieve the attributes i need for every specific app

static void FillAppAttributes(HKEY hKey, std::vector<std::unordered_map<std::string, std::string>>& app_data,
                              const std::string& app_name, const std::list<std::string>& needed_attributes) {
  auto retCode = 0;

  char pvDataForStr[255] = "\0"; // this applies for REG_SZ vars
  DWORD pvDataForNumb{}; // this applies for REG_DWORD types

  DWORD pcBdata = 0;

  std::unordered_map<std::string, std::string> tmp_map;
  // (ln) we already retrieved the first attribute
  // if attr = language, interpret data as DWORD
  // number to string must be as integer number (10) instead of hex (16)
  tmp_map["IdentifyingNumber"] = app_name;
  for (const auto& attribute : needed_attributes) {
    if (attribute == "IdentifyingNumber") continue;
    pcBdata = sizeof(pvDataForStr);
    if (attribute == "Language") {
      // if we would use a char[255] the data would be converted badly since the language REG is a int
      retCode = RegGetValueA(hKey, nullptr, attribute.c_str(), RRF_RT_ANY, nullptr, &pvDataForNumb, &pcBdata);
      if (retCode != ERROR_SUCCESS) {
        // (ln) for data integrity the missing attribute will be empty
        tmp_map[attribute] = "";
      } else {
        tmp_map[attribute] = std::to_string(pvDataForNumb);
      }
    }
    else {
      retCode = RegGetValueA(hKey, nullptr, attribute.c_str(), RRF_RT_ANY,           nullptr, &pvDataForStr, &pcBdata);
      if (retCode != ERROR_SUCCESS) {
        // (ln) for data integrity the missing attribute will be empty
        tmp_map[attribute] = "";
      } else {
        tmp_map[attribute] = pvDataForStr;
      }
    }
  }
  app_data.emplace_back(tmp_map);
}

Now this all works, i did some tests as well, but i really hate to use the "if" to distinguish between any string that i would get with the attributes I'm searching that are all REG_SZ, so the char[255] works wonders, and the "Language" attribute that is a REG_DWORD, basically an integer, and have to resort to use a DWORD var just for it, otherwise i would get strange or wrong data (for example if i use char[255] when "language" is ox00000409 (1033) i would get something like "\t0x4" i don't know why though, if someone knows lmk).
So my request is if there's a way to do this better without losing readability in the first place, obviously any knowledge you would like to share, if i got something wrong, is well appreciated,


r/learnprogramming • • 19h ago

Help needed How to i turn my code into app?

0 Upvotes

I want to make a simple music player app for my school project, but they only thought us how to make stuff in web, so i want to do something more unique for the graduation project. I dont need any fancy app hosting, just a way i can download my code and use it as an app

ill be mainly using php, sql and css


r/learnprogramming • • 13h ago

Is there a way to do this problem faster using computer programming code?

0 Upvotes

For the song "Twelve Days of Christmas", if you tallied up all the items you received over 12 days- for example, on the 5th day you received 5 gold rings, and thus would need to add that from day 5 to 12 repeatedly- you would end with a large number of each item by the end of the twelfth day. The first instinct would be to put all this data into Excel, and use SUM functions. With new AI technology, or even computer programming coding in general, is there a faster way to get to the final answer?