S
Seebs
I've no idea how people manage with these ridiculous widescreen monitors.
Side space used for Other Stuff. It takes some reworking of the layout,
but overall I sorta like it now.
-s
I've no idea how people manage with these ridiculous widescreen monitors.
If you can _see_ it, how is it implicit?
Most if my programming experience is in FoxPro versions 2 and 6.
Control structures start with if, for, do case, do while, with,
procedure, and (I think) function. Control structures end with endif,
endfor, endcase, endwhile, endwith, endproc, and (I think) endfunc.
Eww.
In Python, control structures start with if, for, while, try, def, and
class, and each one ends with a dedent.
This really comes into play when developing -- want to change that if to
a while? Go ahead! And no need to worry about tracking down the
closing endif to change it to endwhile, plus it's less clutter on the
screen.
I also really like the dynamic typing and not having to declare nor
pre-initialize variable names, as well as the lack of a true global
namespace.
"aspect ration". Sheesh.On 11/7/2010 8:23 AM, Grant Edwards wrote:
[...]
(I bought 4:3 monitors before they got replaced by cheap 16:8
screens)
I think you'll find the new aspect ration is 16:9.
The thing that *really* pisses me off is that you *used* to be able toI knew that. My keyboard didn't.
I recently bought a close-out Lenovo T500 Thinkpad from their outlet
because current models are now 16:9 instead of the older 16:10. My
old 4:3 Thinkpad was still going strong, but I decided I'd better get
a 16:10 while I could -- though I'd still prefer a 4:3.
get 1920 x 1200 15" displays, but *now* you are lucky to go above 1080
vertical pixels even in a 17" laptop display. I don't want the
resolution of my displays dictated by the resolution of my (current)
media, yet it seems that's what's happened in the laptop market.
Grant Edwards said:It's getting really hard to find high-DPI displays on laptops any
more. 1600x1200 used to be available on 16" laptop displays, and that
looked great. Even my old 15" thinkpad at 1400x1050 wasn't bad.
I would never do that. ???Conserving vertical space??? seems a
stupid reason for doing it. In C, I even go the opposite way:
if (x)
{
printf(..., x);
}
else if (y)
{
printf(..., y);
}
else
{
printf(...);
} /*if*/
My 15" MacBook Pro is 1680 x 1050.
Interesting. I find conserving vertical space to be a big win. I
understand why you'd enforce braces for virtually all code bodies
in C. In C, I'm giving up the most obvious form of expression for
something obviously more robust. In Python, there's no such
trade-off. Forbidding one-line conditional statements in Python
would sacrifice succinctness for nothing.
I have yet to find an editor that allows me to, well, *edit*, more
comfortably than vi.
Mark Wooding said:Vertical space is a limiting factor on how much code one can see at a
time.
IOW, editing a loop or other control structure where you couldn't see both
ends was problematic. Conserving vertical space avoids that problem.
... though I'd still prefer a 4:3.
Indeed vi (or in my case, vim) works wonderfully well with python. I
always use the following vim settings on python files:
If you set up a conditional thing in your vimrc to enable these settings
for python files, you shouldn't have any more tab problems.
One thing that helps me is that Emacs has commands for quickly jumping
between matching brackets.
Of course, this only works for languages that have brackets.
Lawrence D'Oliveiro said:One thing that helps me is that Emacs has commands for quickly jumping
between matching brackets.
Of course, this only works for languages that have brackets.
Ethan said:That's exactly the point -- each person can decide what level of
indentation they prefer to look at.
Arnaud Delobelle said:python-mode has python-beginning-of-block (C-c C-u) and
python-end-of-block.
That's exactly the point -- each person can decide what level
of indentation they prefer to look at.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.