Fix the README (2++ = 3)
The README says:
Notepad4 (Notepad2⨯2, Notepad2++)
"Notepad2++" would be "Notepad3" though. Wouldn't that rather be "(Notepad2++)++" or "Notepad2#"?
Notepad2 rewritten in modern C++.
That does not explain the "4" though. ;-)
4 is major version used in past.
4 is major version used in past.
https://github.com/zufuliu/notepad4/blob/b5523a3c604c3af7b662c8f7b599b208d975c967/doc/Notepad2.txt#L125 https://github.com/zufuliu/notepad4/blob/b5523a3c604c3af7b662c8f7b599b208d975c967/doc/Notepad2.txt#L163
🤣 Yeah, expression 2++ yielding 3 is absolutely right, in programing!
But, in fact, I would think "2++" is in the same way as "2+" for ordinary people.
Only programing languages choose ++/-- as the operator for off-by-one. I guess they are chosen to write a compiler easier, making them different from +/-.
Notepad3 有另一个作者维护开发了, 这个项目命名Notepad4是很合理的, Notepad3和Notepad4都属于Notepad2分支