226
Living Room / Re: irma-geadon
« Last post by MilesAhead on September 14, 2017, 08:32 PM »MilesAhead, great news, best of luck with everything!-tomos (September 14, 2017, 03:04 AM)
Thanks. Nice to read that.

MilesAhead, great news, best of luck with everything!-tomos (September 14, 2017, 03:04 AM)
I am mostly worn out from humidity but otherwise OK.
Good to hear from you!
-cranioscopical (September 14, 2017, 02:14 PM)
Do you have electric power? I have read that a lot of Florida doesn't.-Arizona Hot (September 13, 2017, 09:14 PM)
I'll do a special edition post for my 3000 milestone
[ Invalid Attachment ]-Ath (September 05, 2017, 12:51 PM)
Achieved my ideal role, I'm a nilhighist.-cranioscopical (August 08, 2017, 07:48 AM)
I almost got it, new user-id 533335, (shot this while 533336 had just registered)
A case of palindrome, ofcourse
[ Invalid Attachment ]-Ath (July 31, 2017, 10:28 AM)
that was post # 4444My problem is how to fabricate a further 1,111 that are equally devoid of meaningful content.-tomos (July 23, 2017, 01:33 PM)-cranioscopical (July 25, 2017, 04:54 PM)
Just keep going how you have been, and you'll be there soon enough.![]()
![]()
-wraith808 (July 25, 2017, 08:42 PM)
I've been pretty happy with airdroid.-mouser (July 24, 2017, 10:52 PM)
The Android version of Total Commander with its LAN plugin. Works both with wire and WiFi and is free, but you can donate any money.-Shades (July 21, 2017, 08:18 AM)
^^^With these can transfer data to computer ? as usual , installing a phone data transfer app on your computer or use Android manager , these phone transfer app can help user transfer data from Android to computer ,
Ialready have a usb keyboard. The mouse us easier.-MilesAhead (February 28, 2017, 09:01 PM)-Tanksder (July 19, 2017, 02:06 AM)
For your entertainment:-Edvard (June 24, 2017, 03:08 PM)
I tried Python back in the early 90s. I had the same feeling about the idea of using indentation to denote blocks. That's why I abandoned my investigation of the language. Then in the 2000s I took another look at it. It didn't seem so hairy when using the right tools. It is not all that different and likely much less restrictive that using a SmallTalk sandbox. I can remember not liking AutoIt also because it used that old function style with the commas instead of parens. Now when I do AHK it's not such a big deal. Although I use the newer style function syntax unless the old function makes something easier or provides more information.I don't do much with Python. However it does seem much more natural to type a block by hitting Enter, then Tab rather than holding down the shift key and hitting a curly brace. At the end of the block you hit backspace to back off the indentation rather than again holding down the shift key and hitting another curly brace. I didn't find it all that problematic when using an editor that knows Python.I don't find adding braces is much bother, and it removes ambiguity - if a language uses indentation for semantic purposes, you run a higher risk of stupid bugs.-MilesAhead (June 22, 2017, 09:18 AM)-f0dder (June 22, 2017, 03:55 PM)
I guess you don't use end of line comments much.
Indeed, I don't.
I find that when I use proper variable and function names - which requires extracting well-defined, single-purpose functions - I don't need end-of-line quotes for anything. The code reads pretty naturally, and when I need comments, it's usually a larger block describing why somethign is done in a special way, performance considerations, external API/service quirks, whatever.
The Python editors I've used automatically filter the input and detect the indentation levels, adjusting the number of spaces to what you are using. Hardly a gagging operation to edit the source.So use an editor that has a hard tab/spaces option. I don't get the controversy. But for people who may type in the < 30 wps range hitting shift brace combinations is distracting and causes a lot of lint since it is easy to get a bracket when you want a brace. Also I notice many IDEs, at least in free tools, lack a reformatting indentation parser(such as Tidy.) When I used Delphi 5 I found it liberating to just type in the code all messy and hit the function key for Delforex to indent and capitalize according to rules etc.. If everything lined up chances were good I did not have any typos.
The controversy is a people thing, and it's already mentioned above. Tabs means flexibilty, spaces means people shoving their preferred indentation size down your throat.
I consider languages insisting on indentation for semantics (like Python) to have made a really bad choice in that regard. The intention might have been to make program structure clearer, but it's dictatorial "we know better" that doesn't belong in a language, and it ends up causing more troubles than it solves.-f0dder (June 21, 2017, 04:33 PM)
You're either using a very, very narrow monitor (for professional development I've been on 120 columns with plenty of real estate for an IDE for 5+ years), or having crazy amounts of indents.
I've been using tab-is-4-spaces indenting for some 15+ years, but I'm considering changing that to oldschool 8, since it forces you to reduce indentation - preferably by splitting your code into shorter, coherent functions.