« first day (2398 days earlier)      last day (1074 days later) » 

1:17 PM
I've always felt that ! being too hard to see is a problem that can be solved with rendering alone. Importing std::ops::Not so you can use .not(), or other "higher visibility" variations always slightly annoy me
 
@PeterVaro ^
 
Lovely :)
@trentcl Since English is the lingua-franca of programming, and all keywords are already English based (as well as everything in the standard library), I don't see any reason why symbols are preferred over keywords in this case. If it would be Math, which has no natural language bias and symbolic-expressions are the norm, much would be different. But at as I said above, we're likely too late to change this, and the only way to fix it now, is to tinker with rendering options.. :/
..or wait for some idiot to propose some weird unicode character as synonyms, which must be the natural next step after the acceptance of non-ASCII identifiers :see_no_evil:
 
@PeterVaro I don't have any particular opinion on ! vs keyword not in the abstract. Just, since Rust already exists and has chosen the first option, I am annoyed when people go out of their way to avoid using it
 
@trentcl I cannot agree more!
 
(but this is a very low degree of annoyance, not something that really bugs me)
Rendering ! instead as ¬ seems like something you could do with IDE support (to avoid replacing !s in macro invocations, strings, etc.)
I also like the idea of doing something similar with < and > when used as delimiters rather than comparison operators
But putting alternate non-ASCII syntax in the actual source file is probably asking for trouble...
 
 
3 hours later…
4:17 PM
battery of phone almost explode, hopefully I smell it before (almost literally), I hate battery so dangerous
 
@Stargateur How old is (was?) the phone?
 
6-7 years
it was a good battery...
I should know it was strange my phone was so hot since last week
I wonder if the charger is at fault
But I guess it normal for a battery to die after that long time
but if next time it would be great without me wonder if it explose in my hand
 
Glad to hear it didn't explode.
 
I put it outside maybe it will xd
but I will not be able to take photo no phone anymore hahah
 
 
2 hours later…
6:02 PM
467
Q: Why is this program erroneously rejected by three C++ compilers?

James McNellisI am having some difficulty compiling a C++ program that I've written. This program is very simple and, to the best of my knowledge, conforms to all the rules set forth in the C++ Standard. I've read over the entirety of ISO/IEC 14882:2003 twice to be sure. The program is as follows: Here i...

nice answers
 
6:18 PM
I literally predict OP would not like the answer
explain why you need a structure with a reference to an other structure but can't be init properly would be way better than ask if something is UB when it's obviously UB, your question look like "please someone tell me it's ok cause I already do this" :p. I would bet you have a xy problem — Stargateur 32 mins ago
and guess what
Op just downvote an answer that literally quote the reference xd
 
Is he asking for a precise example of why UB is bad ?
 
UB is UB, no need example it's even misleading thinking UB can be "controlled"
I added link !
but again:
> Ok, so that's a possibility and it works, but it it necessary? Is it safe to instead do the following, which also seems to work?
this person will not accept no as an answer
 
7:14 PM
I'm more asking what could go wrong here with this undefined behaviour in this scenario. — David Sherret 23 mins ago
what wrong with the world "undefined" ?
 

« first day (2398 days earlier)      last day (1074 days later) »