News for hackers. Stuff that matters.
Re:Interactive GCC (igcc) is a read-eval-print loop (REPL) f... by xigoi on Thursday September 28, 2023 @10:59AM (#37690512)
How else would you know that “cout” is std::cout and not some other cout? /s
Re:Interactive GCC (igcc) is a read-eval-print loop (REPL) f... by dataflow on Thursday September 28, 2023 @01:10PM (#37692598)
Are you sure every name in std is as unlikely to collide as cout? What about format(), apply(), ...?
Re:Interactive GCC (igcc) is a read-eval-print loop (REPL) f... by xigoi on Thursday September 28, 2023 @01:12PM (#37692624)
If a name collides, nothing prevents you from explicitly qualifying it.
Re:Interactive GCC (igcc) is a read-eval-print loop (REPL) f... by dataflow on Thursday September 28, 2023 @01:14PM (#37692656)
When it silently changes the behavior you have no idea there was a collision.