Re: [Pharo-users] Examples of bad code

2018-11-13 Thread Peter Uhnak
Not necessarily unreadable, but I always find the UIManager & co. very confusing. There's a very recent discussion on part of it here http://forum.world.st/Streams-and-FileDialog-in-Pharo-6-and-7-td5084352.html And the combinations and variations of arguments is also a mess https://gist.github.com

Re: [Pharo-users] Examples of bad code

2018-11-12 Thread webwarrior
In old Pharo code (Morphic, etc.) there's a lot of wierd stuff. My favourite is DockingBarMorph>>#predominantDockingBarsOfChastes: Though it explains what "predominant" means in a long comment, it's absolutely unclear what the heck "chaste" is. -- Sent from: http://forum.world.st/Pharo-Smallt

[Pharo-users] Examples of bad code

2018-11-12 Thread Oleksandr Zaytsev
Hello, Do you know of some good examples of code that is unreadable because of the bad and inconsistent naming? I want to show some motivating example in my thesis about the aspects of software naturalness through the generation of identifier names. I'm sure that Pharo has many bad code inside, b