May-21-2017, 08:10 AM
i'm still working on a page columnizer. you call put() passing it short lines, such as names files. it forms the lines into columns and lines them up straight. a page is filled with columns from left to right, using however many will fit with the initially specified gutter, the size of the page is also specified.
i am adding the ability to do a page eject and also a column eject. this is where i want to get some opinion. should a page eject and column eject be special cases of the put() call, or should there be different methods? should i have two methods eject_column() and eject_page(). or just one eject() method with an argument to specify which is being skipped. are those good names or should they be next(), next_page(), skip(). or skip_page()?
i am adding the ability to do a page eject and also a column eject. this is where i want to get some opinion. should a page eject and column eject be special cases of the put() call, or should there be different methods? should i have two methods eject_column() and eject_page(). or just one eject() method with an argument to specify which is being skipped. are those good names or should they be next(), next_page(), skip(). or skip_page()?
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.