notepad4 icon indicating copy to clipboard operation
notepad4 copied to clipboard

Fix the README (2++ = 3)

Open dertuxmalwieder opened this issue 1 year ago • 6 comments

The README says:

Notepad4 (Notepad2⨯2, Notepad2++)

"Notepad2++" would be "Notepad3" though. Wouldn't that rather be "(Notepad2++)++" or "Notepad2#"?

dertuxmalwieder avatar Sep 30 '24 10:09 dertuxmalwieder

Notepad2 rewritten in modern C++. image

zufuliu avatar Sep 30 '24 10:09 zufuliu

That does not explain the "4" though. ;-)

dertuxmalwieder avatar Sep 30 '24 11:09 dertuxmalwieder

4 is major version used in past. image

zufuliu avatar Sep 30 '24 12:09 zufuliu

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

zufuliu avatar Sep 30 '24 12:09 zufuliu

🤣 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 +/-.

lifenjoiner avatar Sep 30 '24 13:09 lifenjoiner

Notepad3 有另一个作者维护开发了, 这个项目命名Notepad4是很合理的, Notepad3和Notepad4都属于Notepad2分支

cvlot avatar Oct 14 '24 00:10 cvlot