]> icculus.org git repositories - dana/openbox.git/blob - DESIGN/plugins_vs_scripting.txt
init the focus_client ptr in startup
[dana/openbox.git] / DESIGN / plugins_vs_scripting.txt
1 So I had a bit of a rant and thought I'd save it...
2
3
4 * xOr figures python wont last for ob4, but we'll see
5 (xOr) since theres only so much you can do
6 (xOr) and some added config files/c code can do it all
7 (xOr) i mean, realisticly, how many people are going to make .py's
8 (xOr) theyre going to ask me for a new feature
9 (xOr) they wont write a py
10 (xOr) so a clean and smart c kernel with sub modules of C code would 
11       probly be more optimal eventually
12 (xOr) scripting was cool for gnus, but i wished i could just set it (mutt)
13 (shrimpx) .so's would be cool in the absence of scripting, prolly
14 (xOr) yea thats what im meaning
15 (xOr) like engines, but for functions
16 (xOr) so youd replace bbappconf witha .so that can interact properly
17 (xOr) and you dont have to write all this crazy Python/c at all and you 
18       end up with something easier to configure
19 (xOr) with less effort
20 (@xOr) also less room for pregnancy [strong typing is good] with all C
21 (@xOr) and less 'my python script wont load, tteach me python xor'
22 (@xOr) what i figure would happen over slow evolution course is..
23 (@xOr) python modules would be converted to python/c inline shit
24 (shrimpx) xOr: you know that some wacko is going to embed python in an .so
25 (@xOr) shrimpx: and itd probly be better
26 (@xOr) shrimpx: cuz it would do less stuff
27 (shrimpx) less stuff == less defensive programming against moron 
28           extension programmers
29 (@xOr) yea
30 (@xOr) and less to try learn to use it
31 (@xOr) and less to screw up
32 (@xOr)  and for instance, if we were to look at emacs, which is the 
33        probably most popular scripted application
34 (@xOr) my .emacs is not crazy code
35 (@xOr) its some keybindings
36 (@xOr) and setting variables
37 (shrimpx) yah but 99% of emacs functionality is in lisp
38 (@xOr) ya
39 (@xOr) but thats not a reason to use it
40 (@xOr) or a reason why its good
41 (@xOr) thats just the language of implementation
42 (shrimpx) even tho it's not .rc
43 (@xOr) its good because entensions are written in the same language as 
44        its implementation
45 (@xOr) do vim plugins have access to the same amount of internals as 
46        emacs entensions?
47 (shrimpx) no
48 (@xOr) right
49 (@xOr) this i think is why emacs is better than vim
50 (@xOr) youcan write a crazy dope cvs.el
51 (@xOr) you can write shell.el
52 (@xOr) you cant do these with vim
53 (@xOr) you can make hackish addons with keybindings
54 (@xOr) so if openbox has .so plugins, its equally as good for exteding as 
55        with python extensions
56 (@xOr) possibly better because you can access more