My previous school taught introductory programming in Python, but the program I'm transferring into teaches data structures in Java and expects students to have completed two semesters of…
Ignoring whether it can run successfully, is this expression grammatically valid Python? Try to determine the answer from Python's grammar before testing it in an interpreter. A bonus…
Ignoring whether it can run successfully, is this expression grammatically valid Python? Try to analyze it from Python's grammar before testing it in an interpreter: ...._(()())._(...())() A bonus…
I already have programming experience and work in IT, so beginner courses that explain concepts like variables and functions feel unnecessarily slow. I'd like to learn Python specifically…
Beginner programming courses often spend a lot of time explaining concepts like variables, functions, and control flow. If you already work as a programmer or in IT, how…
I'm trying to capture a multi-line here-document in a Bash variable using command substitution. The backtick version works, but this version behaves unexpectedly: MYDOC=$(cat <<LIST Testing a multi-line…
I've been learning programming for a few months now and I've got a grasp on things like loops, functions, and classes. The problem arises when I try to…
I'm in the process of transitioning my Kyverno cluster policies to the new ValidatingPolicy and MutatingPolicy formats, and I'm really finding CEL quite frustrating. The documentation doesn't seem…
I'm really struggling with programming and could use some advice. I've just taken my second computer science programming exam and unfortunately, I didn't pass again. I feel like…
Is it feasible to learn the fundamentals of programming by exploring several programming languages simultaneously, focusing specifically on the differences in syntax across each? This question might resonate…
I've noticed that since I updated my help files on a new installation, the output for some commands, like `Get-ChildItem`, looks different compared to last year. Specifically, the…
I'm in my first year of computer science and have little coding experience apart from some IT camps in high school. I excel at math and problem-solving, but…
I often find myself writing certain types of code in embedded processing, and I think it would be great if C++ had some simpler syntax options. For instance,…
I'm curious if anyone knows of a resource for studying programming languages that offers quiz-style questions. I'm looking for something similar to a set of flashcards (like ANKI)…
I'm working on a regex to check if a given string is a float and I want it to handle both cases where there are digits before and/or…
I often find myself using a virtual machine without any logs, and I struggle to recall the syntax for simple Linux commands. What strategies or tools can help…
I've been dedicating about 3 hours daily to practicing JavaScript through platforms like LeetCode and CodeWars. I can generally grasp the problems, but I struggle with recalling the…
I've always thought that memorizing syntax wasn't necessary since programming often involves switching between different languages and frameworks. I heavily depend on language models to assist me while…
Hey everyone! I'm currently taking a college class to learn C++, and I'm feeling a bit overwhelmed by all the syntax and keyword commands. Am I really expected…
I'm trying to manage the same PowerShell profile for both PowerShell Core and Desktop editions, but I have a function that includes a `Clean` block, which is a…