You know if every method really on did one thing, and only had a few params
that never changed and ... well then the split screen really wouldn't be
necessary.

But here are the places I really miss it.
1) when I'm passing parameters to a method in a c-obj.
After I'm more than about 15 lines down I would really like to be able to
see the top of the method, where I'd document what's in the c-obj, right on
top of the code I'm working with. Especially if this is a complex branching
situation where I'm more like 100 lines from the top. Even with a large
screen (which I have) it's not as easy. And if the c-obj has more than a
few keys it's even more involved.

2) when I'm working with a single method that calls itself.
I like to put all the actual code for most of my forms into a single
process method I call a 'form controller'. This method will have some
actions that can be called from objects within the method. Like "save" -
the save button, obviously, but maybe also something that causes a refresh,
reset, new record - whatever. The situation is that I need to be sure I
have everything lined up correctly between where I'm working and what the
'save' code is expecting.

3) when I'm documenting the method.
I prefer to put all the documentation at the top of the method in most
cases. In fact I start each method with at least a simple sentence
declaring what it's purpose is. This usually changes over time becoming
more complex - and being able to see the code in question right by the
documentation is a big help.



On Mon, May 29, 2017 at 3:36 PM, David Adams via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Please give us a split-pane in the Method Editor
> http://forums.4d.fr/Post//19482991/1/
>
> Please vote for this feature request. And if anyone wants to make a better
> argument, please do! It's early here and I'm not at my best yet...
>

-- 
Kirk Brooks
San Francisco, CA
=======================

*The only thing necessary for the triumph of evil is for good men to do
nothing.*

*- Edmund Burke*
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to