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 Estela
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #286974 |
Indeed they are distinct. Different is the word I used. The common "Do you know C/C++?" question is way missguided. They are however way closer than C++ and C#. The similarity goes beyond sometimes having similar semantics. The C++ language standard specification references the C specification. See s... (more) |
— | over 1 year ago |
Comment | Post #286979 |
The standard states in 6.2.6.1 5 when UB happens with trap representations. There are 2 scenarios. "is read by an lvalue expression that does not have character type" does not apply to the question at hand unless the variable is volatile. "is produced by a side effect that modifies all or any part of... (more) |
— | over 1 year ago |
Comment | Post #286979 |
No, it is not an over-simplification.
The standard states in 3.17.3 that *unspecified* values are valid. Hence they can be used in all scenarios where valid values can be used.
This does not contradict your scenario. It just means that in your scenario the the variable cannot be holding an *unspeci... (more) |
— | over 1 year ago |
Comment | Post #286974 |
This is for PLC code.
Global variables associated to I/O are defined in a file which is not C code. But they are available for C code. The freestanding C compiler for the PLC deals with that.
It is possible to have different configurations in the build environment. And those configurations may incl... (more) |
— | over 1 year ago |
Comment | Post #286987 |
Excellent answer which shows how easy it is to get the standard wrong, as I did. (more) |
— | over 1 year ago |
Comment | Post #286974 |
I wonder if I should also tag this C++ also. The answer *might* be different for these different languages. But the question is going to be exactly the same. (more) |
— | over 1 year ago |
Comment | Post #282129 |
@Lundin I do not have a preference for Discord. Y wrote just what is being used right now in Codidact. There are plans for integrated chat but not right now (https://meta.codidact.com/posts/278018#answer-278018) . And yes, after searching for it, I agree about Discord being spyware (https://spyware.... (more) |
— | almost 3 years ago |
Comment | Post #281810 |
That being said. And this applies to office tools. I would say that Turning Completeness is sufficient to qualify but not necessary. So if something, like VBA, is Turing complete we need look no more. It belongs here. (more) |
— | almost 3 years ago |
Comment | Post #281810 |
... doubt relevant here. Same happens with regular expresions, which are not turing complete but are a programming language. Hmmm, yeah, scrap my idea. (more) |
— | almost 3 years ago |
Comment | Post #281810 |
batch script is Turing complete. HTML... I am not an expert, but it is or it was a *description* language as opposed to a *programming* language. So asking if HTML is Turing complete is like asking if an apple is Turing complete. It still has a place here because programming is not the only thing rel... (more) |
— | almost 3 years ago |
Comment | Post #281810 |
Regarding the frontier. I would put it at Turing completeness. So Excel's formulae (without LAMBDA) go to Power User. VBA to Software Development. That being said... Using a limited subset of the features of a language can make it non Turing complete. And people commonly using such subset will feel t... (more) |
— | almost 3 years ago |
Comment | Post #281585 |
I agree with hkotsubo. The preview should be consistent with the resulting HTML. But I also agree with ArtOfCode, the issue is not important enough. Even the consistency is not important enough. As for how to show an example... The same way that C++ examples are shown despite C++ code not running dir... (more) |
— | almost 3 years ago |
Comment | Post #281417 |
@artaxerxe I've fully reworked my answer. (more) |
— | about 3 years ago |
Comment | Post #281415 |
Ok, so a line with id=X childId=C and parentId=P means that C is the child of P. I was understanding that C was the child of X and P the parent of X. Another question. Is the relationship transitive? That is, in your example, since 5 is the child of 1 and 1 is the child of 3. Does it mean that 5 shou... (more) |
— | about 3 years ago |
Comment | Post #281348 |
Cool, `<span>` renders exactly what I want and conveys intent properly. (more) |
— | about 3 years ago |
Comment | Post #281347 |
@ArdOfCode `dead.sh​` works fine indeed. That is a good enough answer for me. (more) |
— | about 3 years ago |
Comment | Post #281168 |
@Alexei Displaying is not enough. I also need to read local time from users and insert them in the table. From users at different time zones. And I'd prefer to reuse time zone conversion code rather than having to write it myself. From hkotsubo's answer I've come to the conclusion that PostgreSQL is ... (more) |
— | about 3 years ago |
Comment | Post #281020 |
Yes, the question is about exceptions which are not related by inheritance and which require almost identical code. @Lundin I agree with you regarding global macros. Do you have the same stance regarding local macros (a macro which is defined, used and immediately undefined)? (more) |
— | about 3 years ago |
Comment | Post #280767 |
@ghost-in-the-zsh Do you mean lines A, B, C or something else? B is undefined behaviour. After Hyperlinx's answer I see no problem with A and C, self-synchronized objects are common practice. Or maybe you mean method mutex() which returns a reference to a private? Sure, not good practice. This is ju... (more) |
— | about 3 years ago |
Comment | Post #280778 |
That's an interesting topic so there goes my upvote. I would suggest to edit the tittle to "What is the latest and efficient way to create a login page in Java?" (more) |
— | about 3 years ago |
Comment | Post #278172 |
I use C++ so I find the information in this Q&A very useful if it applies to C++. Which I think it does even with a verbatim copy. Should I post another question and answer tagged with C++ which is a verbatim copy? Should I ask in meta instead? (more) |
— | about 3 years ago |
Comment | Post #277906 |
best-practices seems like an easier to recognize term than software-practices. I've seen the former plenty of times but the later only here. (more) |
— | over 3 years ago |
Comment | Post #277265 |
When you write that it is generally a good practice instead of writing always, do you mean there are specific cases where it is not a good practice? (more) |
— | over 3 years ago |
Comment | Post #277576 |
This has worked fine. Thanks. (more) |
— | over 3 years ago |