Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for Alexeiâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #286017 |
How about using [the builder pattern](https://howtodoinjava.com/design-patterns/creational/builder-pattern-in-java/). You create a builder class (`FooBuilder`) for Foo. I guess the test could like the following:
`new FooBuilder().withX(42).build().getY()`.
The advantage of this pattern is that ... (more) |
— | over 2 years ago |
Edit | Post #286008 |
Post edited: added relevant tags |
— | over 2 years ago |
Edit | Post #284194 | Nominated for promotion | — | almost 3 years ago |
Edit | Post #285898 | Nominated for promotion | — | almost 3 years ago |
Edit | Post #285973 | Initial revision | — | almost 3 years ago |
Answer | — |
A: Software recommendations category > Shouldn't it be a category of Software Development too? Probably not Unless it is a very specific question as in the examples provided by Lundin which are clearly related to software development, I would not like general software recommendations on Software Development: - Power User Codid... (more) |
— | almost 3 years ago |
Edit | Post #279543 |
Post edited: |
— | almost 3 years ago |
Edit | Post #277134 |
Post edited: |
— | almost 3 years ago |
Edit | Post #278262 |
Post edited: |
— | almost 3 years ago |
Edit | Post #277137 |
Post edited: |
— | almost 3 years ago |
Edit | Post #281624 |
Post edited: |
— | almost 3 years ago |
Edit | Post #278939 |
Post edited: |
— | almost 3 years ago |
Edit | Post #278625 |
Post edited: |
— | almost 3 years ago |
Edit | Post #277134 |
Post edited: added order |
— | almost 3 years ago |
Edit | Post #277136 |
Post edited: added order |
— | almost 3 years ago |
Edit | Post #277137 |
Post edited: added order |
— | almost 3 years ago |
Edit | Post #284175 | Nominated for promotion | — | almost 3 years ago |
Edit | Post #282565 | Nominated for promotion | — | almost 3 years ago |
Edit | Post #284553 | Nominated for promotion | — | almost 3 years ago |
Edit | Post #284596 | Nominated for promotion | — | almost 3 years ago |
Edit | Post #284646 | Nominated for promotion | — | almost 3 years ago |
Edit | Post #284708 | Nominated for promotion | — | almost 3 years ago |
Edit | Post #278767 | Nominated for promotion | — | almost 3 years ago |
Edit | Post #278767 |
Post edited: added relevant tags |
— | almost 3 years ago |
Edit | Post #284910 | Nominated for promotion | — | almost 3 years ago |
Edit | Post #285050 | Nominated for promotion | — | almost 3 years ago |
Edit | Post #285104 | Nominated for promotion | — | almost 3 years ago |
Edit | Post #285021 | Nominated for promotion | — | almost 3 years ago |
Edit | Post #285225 | Nominated for promotion | — | almost 3 years ago |
Edit | Post #285366 | Nominated for promotion | — | almost 3 years ago |
Edit | Post #285499 | Nominated for promotion | — | almost 3 years ago |
Edit | Post #285720 | Nominated for promotion | — | almost 3 years ago |
Edit | Post #285746 | Nominated for promotion | — | almost 3 years ago |
Edit | Post #285745 | Nominated for promotion | — | almost 3 years ago |
Edit | Post #285844 | Nominated for promotion | — | almost 3 years ago |
Edit | Post #285917 | Nominated for promotion | — | almost 3 years ago |
Comment | Post #285875 |
I do not think we need this category, because we already allow such questions. Examples:
[Best practices in setting up a development & production environments](https://software.codidact.com/posts/285908)
[Why object-oriented instead of class-oriented?](https://software.codidact.com/posts/285720... (more) |
— | almost 3 years ago |
Edit | Post #278625 |
Post edited: |
— | almost 3 years ago |
Edit | Post #278625 |
Post edited: |
— | almost 3 years ago |
Comment | Post #285870 |
This is a great idea. Based on your proposal and the only answer + its comments, I have changed the section contents.
"What type of questions can I ask here?" has also become the first item in the Guidance category.
I will follow this Q&A and update the section if needed. (more) |
— | almost 3 years ago |
Edit | Post #278625 |
Post edited: |
— | almost 3 years ago |
Edit | Post #278625 |
Post edited: cleanup based on https://software.codidact.com/posts/285870 |
— | almost 3 years ago |
Edit | Post #285939 |
Post edited: added relevant tag |
— | almost 3 years ago |
Comment | Post #285916 |
Using localstorage is a great idea.
Ref. to "the app might be closed before the idle state is reached, and that a closing app might no longer be able to communicate with the outside", I thought about this and that is why I have mentioned the
beforeunload event which allows to mark the tab/brows... (more) |
— | almost 3 years ago |
Edit | Post #285911 |
Post edited: fixed the question |
— | almost 3 years ago |
Edit | Post #285911 | Initial revision | — | almost 3 years ago |
Question | — |
Allow question and answers textareas to be resizable Many questions and answers on Software might involve a lot of code that typically require more width and/or height to be displayed in a way that is easy to read. Why simply not enforce `resize: none` and allow the user to resize the textarea to their needs (if the browser allows it and they want t... (more) |
— | almost 3 years ago |
Comment | Post #285844 |
@#53280 I thought of using this for the following: evaluating SPA usage time (i.e. consider last activity + a time interval) or automatically saving some data after an idle period. (more) |
— | almost 3 years ago |
Edit | Post #285885 | Initial revision | — | almost 3 years ago |
Answer | — |
A: Preloading some data at application startup as fast as possible One way to do this is to launch a Task at application startup as soon as possible (the DI is configured). The only hard part is to make DI available in the prewarm functionality. The following implementation is based on this article. ```c# /// /// Credit: https://anduin.aiursoft.com/post/202... (more) |
— | almost 3 years ago |