4 ms·
> Are there many people who believe Lisp syntax is as easy as Python? Even with python I find myself getting bogged down by missing a parenthesis here and ther
by pen2l 4y ago
> Are there many people who believe Lisp syntax is as easy as Python?
Even with python I find myself getting bogged down by missing a parenthesis here and there around function calls, but perhaps that problem is unique to me and my attention and memory issues. Syntax highlighting in editors is great, and certainly it helps me, but I wish for them to be even more interactive and assertive: it should mark fields with obvious errors like unclosed quotes and parentheses, I shouldn't have to wait after compile or run-time to be informed of these errors.
Aid that reduce syntax errors should always be welcome. Moreover, some of us have high working memory and some don't so I welcome opinionated tools like Spyder IDE and Jupyter that are hands-on in the dev stage, and serve to encourage a fun and exploratory dev environment.
- Stratoscope 4y ago> it should mark fields with obvious errors like unclosed quotes and parentheses PyCharm does that and more. What editor are you currently using?
- wrycoder 4y agoIt still won't catch if/elif/else mismatches.
- bklaasen 4y agoOnce I got into the habit of typing the corresponding closing entity (quote, paren, backtick, whatever) immediately after typing the opening one, and _then_ coming back to fill in the data in the enclosure, most of my syntax errors disappeared. It's surprising how many professional devs don't have this habit. I learned it pairing one day.
- kayodelycaon 4y agoMy text editor automatically adds those in front of the cursor. It’ll also wrap a highlighted selection if you type the opening entity