Which of these code editors would you recommend?

Click For Summary

Discussion Overview

The discussion centers around recommendations for code editors suitable for use on an iPhone, particularly for Python programming, while also considering support for other languages and features like code execution. Participants share their experiences and preferences regarding various code editors, as well as general thoughts on coding on mobile devices.

Discussion Character

  • Exploratory
  • Debate/contested
  • Technical explanation

Main Points Raised

  • One participant lists several code editors, including Buffer Editor, CodeToGo, Textastic, and Pythonista 3, seeking recommendations based on their features and usability.
  • Another participant suggests considering general requirements for code editors, such as macro definitions, syntax highlighting, and regex searches, referencing a book by Steve McConnell.
  • A different participant expresses skepticism about coding on a phone, sharing their experience of using basic text editors like Notepad and Notepad++ for Python programming.
  • One participant shares their positive experience with SlickEdit and mentions the historical significance of editors like Brief and EMACS, noting their steep learning curves.
  • Several participants express a preference for the vi editor, discussing its keyboard-driven nature and the challenges of using it on a mobile device.
  • A participant reports successfully rewriting their Python code and expresses satisfaction with Pythonista 3, recommending it as a suitable editor for mobile use.
  • There is a debate about the pricing of Pythonista 3, with differing opinions on whether $9.99 is considered "pricey." One participant argues that the price is higher in their country, adding to the discussion about cost considerations.

Areas of Agreement / Disagreement

Participants do not reach a consensus on which code editor is the best choice, as multiple competing views and personal preferences are expressed throughout the discussion. There is also disagreement regarding the value of the price of Pythonista 3.

Contextual Notes

Some participants highlight the limitations of coding on mobile devices, including challenges with text selection and typing efficiency, which may affect the overall usability of various editors.

Who May Find This Useful

This discussion may be useful for individuals seeking recommendations for mobile code editors, particularly those interested in Python programming, as well as those curious about the pros and cons of coding on smartphones.

doktorwho
Messages
181
Reaction score
6
Hi, I am looking to buy a code editor for my iphone so i can code on it. I don't know any of these but they are most if not all paid and i was thinking of asking for your help in choosing one of them. I would like it to be a python editor but it should also support other languages. It is also necessary and great if it has the run option to see the result of the code. I am going to list some of them to make it easier for you just to evaluate some of them and recommend.. :-)
- Buffer Editor
-CodeToGo
-Textastic
-Pythonista 3
These are just the ones i found, if you have a suggestion please share with me :-)
 
Technology news on Phys.org
Taking a more general approach - Steve McConnell in 'Code Complete ...'

https://www.amazon.com/dp/0735619670/?tag=pfamazon01-20

Lists a series of requirements for an editor used for code development, anything more is pure personal choice. I have the first edition, so I'm not sure where the list is in the edition you most likely can find.

Among the important ones:
macro definitions that support a complex series of keystrokes
language specific syntax highlighting, with automatic recognition based on file type.
A method to check the balance of start and end terminator constructs for a given language
regex searches
Hex editor
Extensive help

So instead of the usual inane badinage of 'my dog is better than your dog' kinds of favoritisms, try doing a tad of reading and make a decision you can live with.
All editors have a learning curve.
 
doktorwho said:
Hi, I am looking to buy a code editor for my iphone
Personally I wouldn't try using a phone to write code, but if that's all you have to work with, I guess it will have to do.

As far as an editor is concerned, you don't really need anything special. When I was teaching myself Python last year, I used Notepad, that comes with Windows. Another text editor that's more useful is Notepad++, a free download, although I'm not sure there's a version for iPhone.
 
The most useful code editor I have ever used was Brief - but that was essentially a DOS editor. Somebody converted it to Windows ("CodeWright") and it was very good. Then Codewright was bought by Borland and disappeared.

I currently use SlickEdit. It is as good as Codewright ever was.

Then you have the favorite of old UNIX hackers - EMACS. You can do anything with it, but the learning curve is really steep.

If you want to do things the really hard way - the descendants of vi can also do editing but it will drive you mad trying to keep track of what mode you are in.
 
I like vi
 
Last edited by a moderator:
  • Like
Likes   Reactions: FactChecker
Ibix said:
I like vi
This reminds me of the Christians in ancient Rome, gathering in little groups and talking in whispers to avoid persecution and torture.
 
Last edited:
  • Like
Likes   Reactions: S.G. Janssens
@doktorwho, did you ever get your Python code to work -- the problem of pulling a URL out of some XML for a web page?
 
FactChecker said:
This reminds me of the Christians in ancient Rome, gathering in little groups and talking in whispers to avoid prosecution and torture.
I was just being a bit silly in response to Svein's "drive you mad" comment, which apparently passed the mods by. I do like vi, largely because pretty much everything is (or can be) keyboard driven with fairly few keystrokes. I don't know how useful this is on a phone.

On the one hand, I actually have trouble selecting text precisely on my phone, and the ability to type 23h to move 23 characters left would be useful. Also copy-paste without mucking around with long presses would be handy.

On the other hand, my phone keyboard is fairly clumsy and typing 23h isn't as easy to type as it might be. Also, the on-screen keyboard means that you wouldn't be task switching between keyboard and mouse in the same way as with a desktop so some advantage is lost.

Swings and roundabouts, I suppose. Try it and see. Note that, as with Emacs, the learning curve is brutal.
 
  • Like
Likes   Reactions: FactChecker
Mark44 said:
@doktorwho, did you ever get your Python code to work -- the problem of pulling a URL out of some XML for a web page?
Yeah i did, i rewrote it this morning and it is simpler and it works. And to reply to all that i bought a program the i really like. Its the last one, Pythonista 3, its the best Python editor for a phone that i could find. You can check it out at:
https://itunes.apple.com/au/app/pythonista-3/id1085978097?mt=8
Its pricey but it think itll pay off.. :-)
 
  • #10
doktorwho said:
Its pricey

$9.99 is "Pricey"?

BoB
 
  • #11
rbelli1 said:
$9.99 is "Pricey"?

BoB
Its 13.74$ in my country and compared to the rest it is.
 

Similar threads

Replies
6
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 13 ·
Replies
13
Views
5K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
2
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K