Kod is a new Node.js scriptable code editor for OSX
kodapp.com
kodapp.com
Would someone enlighten me what the motivation is to use it as an editor's scripting environment?
"Ours is a performant network monitoring and systems monitoring tool."
"This software is ten percent more performant than its predecessor."
----http://ngrams.googlelabs.com/graph?content=performant&ye...
I wonder if the early appearance is OCR error?
Anyhow do you have an issue with scalable[1] too?
----
[1]: http://ngrams.googlelabs.com/graph?content=Scalable&year...
There are not many good, scriptable editors for programmers. Actually, I would consider only 3 for serious use: Emacs, Vim and TextMate. Of these, only one has really good integration with OS X.
If I was considering switching editors, the language that is used to extend it would be one of the most important factors (I love Emacs, but Emacs Lisp is seriously broken). The fact that Kod uses node.js means two things:
1) It's JavaScript, so it's high level, has nice semantics and it's extremely popular;
2) It uses a reasonably fast dialect of JS, and has the necessary infrastructure, like CommonJS modules and access to the filesystem.
So, Node.js is the thing that makes this topic actually hacker-news-worthy.
Don't get me wrong, I wasn't trying to beat this project down, I'm just pointing out that 'node.js' carries a "wow it must be awesome" weighting at the moment.
Give it a couple of years and node.js will be old and boring and there'll be a new fashionable language everyone has to jump on.
I suspect that next fashionable thing will be Go btw...
The "Chromium-like user interface where tabs can be torn off and moved between windows" would be awesome if it were implemented directly in Mac OSX. Then applications could drop all of that code and just let the OS deal with it. Also, you'd be able to group distinct applications. I'd love to have a [Browser, Text Editor, Terminal] tab group.
EDIT: Another thought... Chrome tabs don't look like any other tabs in Mac OSX. Applications lose uniformity as they're forced to define more about themselves.
KWin in KDE can also stack and tile application windows. Sadly, nothing like that exists for OS X.
Looking at ibuffer, I have 92 buffers open in Emacs right now. What would that look like with tabs?
To expand on that: I really like the notion of tabs in text editors. I like having a quick and visual represantation of how many files I'm working on. It's also very easy to memorize where a certain file is spatially.
But then I'm a very visual person, if I can only see one file at once without knowing all the open files at a glance, I go absolutely nutters.
Most people in word have 1-2 documents open at once. Most people in text editors like gedit, kate, eclipse, VS have maybe 10 or 20 tabs But most emacs users have at least 80 or 90 buffers open! It's an interesting phenomena that I haven't seen elsewhere. Why is this? Are tabs too much overhead or does emacs have really good buffer management?
Not a criticism, I'm slowly picking up some emacs after 2 years of vi, and I'd like to understand more of the nuances.
Also, hippie-expand will expand to stuff contained in open buffers.
I haven't met many people who casually use emacs (other than those trying it out for the firs time, or giving it another shot, (or another, or another))
For those who really GET emacs, and think in emacs, it becomes their entire workflow - as they can automate everything from emacs, incrementally. Those guys that work with 80 or 90 buffers open didn't start out that way - they grew over the years to working that way by tweaking more and more functionality to bend it to their will.
You can extend lots of editors - but there's something about emacs and it's lisp nature that lends itself to this kind of developer.
The reason it does not happen with gedit & kate is that tab-based interface fall into uselessness with too many tabs, if they do not provide alternative methods of navigating them than "click on the right one".
IMO, of course.
To view Emacs as an editor, while technically accurate is not necessarily a fair comparison because it does so much more.
I think a smarter solution would be to put recently accessed files in that file list on the side, vertically.
(But I use the project view anyway, because I also see tabs as pointless, and most other developers I know rely on things like PeepOpen or Cmd+T's file finder.)
It would be just lame to have another editor on just OSX only, considering that most people have used some script-able code editor (like emacs or vim) that are openly script-able (or compilable). If it is just for OSX, then there is a specific scripting language called AppleScript which is OSX only and should be even more integrated to the OSX APIs.
Well at least the "Chromium-like" part triggers my thoughts on web based editor.
Signed up for the beta; looking forward to trying it out.
(But thanks for the link to cloud9, I didn't know about it and it looks interesting.)
EDIT: meh, it was actually 4 browser based editors :(
As I mentioned AppleScript seems to be a better fit for an OSX-only editor.
Of course any new things are welcomed, just that I am not at the best positive about this.
With today's web frameworks, when I hop between files all the time, I want a neat visual file tree.
I find it much more useful than the file trees in any of the gui editors I've tried. You don't need to leave your keyboard and you can create, delete and move files directly from the tree which some gui editors don't even allow you to do. If you haven't tried it give it a shot.
Having an editor that I could extend in a real programming language (and JS is actually very nice once you grasp stuff like prototype inheritance and learn to avoid the... uhm, bad parts) would be simply awesome. And if it was pretty and integrated with OS X I would be willing to pay hard cash for it.
I bought a few copies a few years ago, and I've been using them ever since, lots of extensions, still nice and light, still awesome to use... I dont' find myself sitting around thinking "Man I wish this guy would hurry up and bring out a new version!".... like, it's not minecraft....
I still think TM is the best editor for me, and I'd happily use it for the next 25 years without a single gripe if I had to, but I'm not sure the editor community is going to just sit around while TM stagnates.
1. Split-window editing 2. Multithreaded searching, pasting, etc.- having the whole app hang while doing a "find in project" is a major drag, especially when it's due to, oh, say, having a bunch of files open from a slow network share. Which brings me to... 3. Better handling of files opened from remote volumes- another case where multiple threads would probably help. 4. Better handling of really long lines when word-wrap is turned off. There is obviously something O(n) going on at the line level (where n is the number of characters on the line), and it makes handling long runs of text rather painful at times.
So, there it is: my TextMate wish list. Modulo those four things, TextMate is currently pretty close to ideal, IMHO. I love its syntax highlighting grammar, its snippets, its macro capabilities, etc. etc. The Latex package is fabulous, and has singlehandedly done a lot to make my dissertation-writing process bearable.
"Written from scratch with modern OS X 10.6 APIs providing maximum OS integration while avoiding reinvention of the wheel."
Though CSS styling and Node scripting leads me to believe it's using some v8/browser stuff.
And this rasmusfabbe is developping Kod: - http://www.youtube.com/watch?v=jHUp3sdKYJw (a cool idea on grouping documents by Levenstein distance)
I do wish people would get used to (dis)claiming when they have a stake in some product they comment on.
tl;dr: was creative director at spotify, now works at facebook