Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
Best practices
1 vote
12 replies
215 views

I find it difficult to code (in python) without ChatGPT sometimes - and I'm not great at using documentations and learning, i feel like chatGPT explains things better. Could you guide me as I aspire ...
Advice
1 vote
0 replies
42 views

I'm using Intellij IDEA with CheckStyle-IDEA plugin, then import it using Code Style -> Java -> Import Scheme -> Checkstyle Configuration -> google_checks.xml. This lets me reformat the ...
Advice
0 votes
1 replies
33 views

I’m a 3rd-year CS student with prior backend and frontend internship experience and multiple production full-stack projects (Node.js, React/Next.js, PostgreSQL, Docker, basic cloud usage). I’ve been ...
Advice
0 votes
6 replies
124 views

I am currently writing a large number of insert, delete, read, and update database statements in Python using SQLAlchemy for my MVP project. Naturally, all of these methods need to be thoroughly ...
Best practices
1 vote
5 replies
85 views

this program prints a pyramid (its from a cs50 problem set). I call the function recursively by decrementing n, but i also wanted to keep track of its initial value in all the loops after the first ...
Best practices
3 votes
2 replies
86 views

I’m part of a team of 10 developers, and recently our product team requires us to use feature flags for almost every new change. The idea is that they can always "roll back" to the previous behavior ...
Best practices
1 vote
4 replies
152 views

I'm trying to have an array of structure. The sprite_s struct: typedef struct sprites_s { bool *initialized; sfSprite *duck; } sprites_t; Can I, with memset, fill the array with data so I can ...
Best practices
1 vote
2 replies
85 views

What's the best practice, preferably backed by a publicly available guideline issued by a tech company or a standards organization, when it comes to the order of method declarations in a Java source ...
-3 votes
1 answer
93 views

In Angular/RxJS, when should you use tap({ error }) and when catchError for side effects? How do you best separate the two logically or combine them? For example, does resetting the UI to its previous ...
0 votes
0 answers
40 views

I'm new in Vue, and I'm trying to enable code style inside a <script> block in WebStorm, and in the settings everything is correct, but the style still doesn't work inside the <script> tag....
-6 votes
1 answer
160 views

I'm aware that C++11 introduced alias templates (which is well-explained in this thread) that makes it simple to reduce verbosity. For example: #include <vector> template <typename T> ...
2 votes
0 answers
61 views

I'm trying to enforce this indentation style in TypeScript: const response: Asana.Response<Asana.Tag[]> = await tagsApi.getTagsForWorkspace(process.env.ASANA_WORKSPACE_GID!, opts); ...
1 vote
0 answers
27 views

The @stylistic/lines-around-comment rule allows me to require new lines before or after comments, but I can't seem to find a way to disallow them. I thought the @stylistic/padding-line-between-...
2 votes
2 answers
197 views

I am developing with Flutter using Android Studio. When I try to format the code using the Cmd + Opt + L keys, it ends up like #1 below. Is there a good way to make it look like #2? //#1 @override ...
-1 votes
1 answer
61 views

I am new to sonarLint rules, I am trying to findout the rule for indentation and variable naming in typescript rules.But couldn't find it. I was able to find naming rules for classes and functions but ...

15 30 50 per page
1
2 3 4 5
...
516

AltStyle によって変換されたページ (->オリジナル) /