On 7/31/08, Filippo Erik Negroni [EMAIL PROTECTED] wrote:
Hi All,
I noticed the code in dwm uses unsigned int for positive counters of
memory arrays instead of size_t.
Is there a particular reason you don't use size_t in order to convey
that you are using that quantity as a counter of memory
Donald Chai wrote:
@pancake :
I dont see any point for having a function called
dwmiinoinfiniteloop
Well this function is necessary, I didn't know how to call it, though
its name is relevant... If you don't like its name feel free to change
it but I won't. The important thing is that it
I wrote a random list of tips for coding (mostly in C)
http://news.nopcode.org/miau/wk/BadCoding
If you have some ideas/missing tips i'm open for discussion :)
--pancake
On Thu, Jul 31, 2008 at 01:37:22PM +0200, pancake wrote:
I wrote a random list of tips for coding (mostly in C)
http://news.nopcode.org/miau/wk/BadCoding
If you have some ideas/missing tips i'm open for discussion :)
I mostly agree with everything, except with your bizarre anger against
Hi pancake,
nice reading, I had a quick look. I agree on most things, I let you
known where I disagree and maybe where I'd like to extend it later.
Kind regards,
Anselm
2008/7/31 pancake [EMAIL PROTECTED]:
I wrote a random list of tips for coding (mostly in C)
On Thu, Jul 31, 2008 at 01:37:22PM +0200, pancake wrote:
I wrote a random list of tips for coding (mostly in C)
http://news.nopcode.org/miau/wk/BadCoding
If you have some ideas/missing tips i'm open for discussion :)
--pancake
I'd remove the Comments are for humans paragraph -- code
Mate Nagy dixit (2008-07-31, 13:49):
(ideally, everybody should use something modern instead of C (like
Haskell (which I don't actually really know, so don't attack me :)),
but that's not going to happen. Oh, and Lisp, of course. This is 2008,
people, there are plenty of languages that can
Hi Pancake and all the dwm users!
I read your ``suggestions'' about good coding style and
i agree mostly with what you wrote. Keep the good work
up. Though, i think this sentence should be a bit different:
[..]Humans are here to make computer's life easier.[..]
I wondering, doesn't computers
I'll try to add some more precisse descriptions on the points :)
Before anything else...Thanks for the feedback.
On Thu, 2008-07-31 at 14:14 +0100, Anselm R Garbe wrote:
Ok, here we go:
Don't use IDEs
I agree to some extend, though it's not because I think that IDEs are a bad
idea, it's
[2008-07-31 16:41] pancake [EMAIL PROTECTED]
I'll try to add some more precisse descriptions on the points :)
and please use more easy words and less irony
That makes the document clearer and so more useful.
On Thu, 2008-07-31 at 14:14 +0100, Anselm R Garbe wrote:
Mixed tab/spaces++
I don't understand why IDEs are considered so bad.
IDEs make it easy to shoot yourself in the foot (by clicking with the
mouse, no less). But all C programmers know that it works to just avoid
shooting yourself in the foot. Also, there may be bad IDEs.
I use Eclipse for Java programming,
On Thu, 2008-07-31 at 17:00 +0200, markus schnalke wrote:
[2008-07-31 16:41] pancake [EMAIL PROTECTED]
I'll try to add some more precisse descriptions on the points :)
and please use more easy words and less irony
That makes the document clearer and so more useful.
On Thu,
Please change Don't use IDEs to Don't depend on IDEs. An IDE does
make sense, depending on it is a bad idea though. Actually I think this
is your idea about an IDE, if I get this chapter right.
On Thu, 2008-07-31 at 17:28 +0200, Kai Großjohann wrote:
I don't understand why IDEs are considered so bad.
IDEs make it easy to shoot yourself in the foot (by clicking with the
mouse, no less). But all C programmers know that it works to just avoid
shooting yourself in the foot. Also,
i too tired to comment on every rule
On 7/31/08, Anselm R Garbe [EMAIL PROTECTED] wrote:
#define UINT unsigned int
and that looks better to me. The problem with doing
typedef unsigned int uint;
is, that uint might be typedef'd already on some system, but maybe not on
yes, but one should
On 7/31/08, pancake [EMAIL PROTECTED] wrote:
Yeah, eclipse is a very standard tool. Using ANT is far more better than
using make. IMHO make is also a weird tool that should be replaced
from ant manual:
'Makefiles are inherently evil as well. Anybody who has worked on them
for any time has run
Szabolcs Nagy dixit (2008-07-31, 18:42):
'Makefiles are inherently evil as well. Anybody who has worked on them
for any time has run into the dreaded tab problem. Is my command not
executing because I have a space in front of my tab?!! said the
original author of Ant way too many times.'
i
On Thu, Jul 31, 2008 at 05:48:08PM +0200, pancake wrote:
We can maybe maintain this enumeration in the suckless wiki.
I dont say that removing comments is good. And remove them to reduce
LOCs is stupid. comments have nothing to do with code. The problem is
that there're lot of unnecessary
On Thu, Jul 31, 2008 at 06:42:58PM +0200, Szabolcs Nagy wrote:
On 7/31/08, pancake [EMAIL PROTECTED] wrote:
Yeah, eclipse is a very standard tool. Using ANT is far more better than
using make. IMHO make is also a weird tool that should be replaced
from ant manual:
'Makefiles are
On Thu, Jul 31, 2008 at 6:00 PM, pancake [EMAIL PROTECTED] wrote:
On Thu, 2008-07-31 at 17:28 +0200, Kai Großjohann wrote:
I don't understand why IDEs are considered so bad.
IDEs make it easy to shoot yourself in the foot (by clicking with the
mouse, no less). But all C programmers know
Hi,
A while ago there was some talk about making the wiki available in gopherspace.
I made a quick mockup:
hiya,
A while ago there was some talk about making the wiki available in
gopherspace.
I made a quick mockup: gopher://schot.a-eskwadraat.nl/1/suckless
The idea is pretty simple: No conversion to html and embed the index.md page
in
the gophermenu (yes, 'i' itemtype abuse).
On Tue, Jul 29, 2008 at 11:02:16AM +0100, Anselm R Garbe wrote:
2008/7/29 Anselm R Garbe [EMAIL PROTECTED]:
For the meantime the statement has been restored in the original place ;)
Yay!
Regards,
Christian, thus still elitist ;-)
--
On Tue, Jul 29, 2008 at 09:04:30PM +0200, Tuncer Ayaz wrote:
Just because I'm curious: Am I the only one using readline (shell, etc.)
with Emacs key bindings and am therefore always remapping/deleting some
default dwm key bindings?
Because of that problem I switched to Mod1-Shift for dwm.
Hello,
On Thu, 31 Jul 2008, Jeroen Schot wrote:
A while ago there was some talk about making the wiki available in gopherspace.
I made a quick mockup: gopher://schot.a-eskwadraat.nl/1/suckless
I think this sucks less than html ;)
With best regards,
Fabio Scotoni
25 matches
Mail list logo