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 Alexis Wilke
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #293040 |
If C represents the pool cover, I think that it should be `(A OR B) and not C` for the water to rise, right? (more) |
— | 2 months ago |
Edit | Post #293041 | Initial revision | — | 2 months ago |
Answer | — |
A: Understanding "logical OR" and "logical AND" in programming languages One thing I'd like to add to Lundin and r.zwitserloot answers, which is something that I think is rather important: The "or" in programming is inclusive. The "or" in most languages (all those I know of: "or", "ou", "ó", "order"...) is exclusive. If we look at the truth tables of the AND, OR, a... (more) |
— | 2 months ago |
Edit | Post #293029 |
Post edited: wrong letter |
— | 2 months ago |
Suggested Edit | Post #293029 |
Suggested edit: wrong letter (more) |
helpful | 2 months ago |
Edit | Post #293033 |
Post edited: |
— | 2 months ago |
Edit | Post #293033 |
Post edited: Fixed formatting. |
— | 2 months ago |
Edit | Post #293033 | Initial revision | — | 2 months ago |
Answer | — |
A: What is the difference between operator precedence and order of evaluation? When parsing a program, a compiler creates a tree of nodes. The operator precedence plays a role in how those nodes get organized. Once the tree is complete and considered valid, it walks the tree and outputs the corresponding instructions (in case of a C/C++ compiler, the instructions are assembly c... (more) |
— | 2 months ago |