Opened 13 years ago

Last modified 7 years ago

#377 assigned task

Too many hacks? — at Initial Version

Reported by: shanoah@… Owned by:
Milestone: Future Keywords: cleanup meta
Cc:

Description

The current code, as of revision 543, has no less then 1212 occurrences of the word "hack". Perhaps we should evaluate these, and determine which can be reworked, which are necessary evils, and which aren't really hacks at all?

Here is the breakdown, simply based on how many times the word hack was used. Note that I haven't checked for context, and this is from svn, so some of this code may be hacks simply because it is in flux:
main files:
main-crb.c 35
main-x11.c 21
main-xaw.c 20
main-gtk.c 9
main-sdl.c 4
maid-x11.c 2

Others:
cave.c 54
util.c 53
spells1.c 52
object1.c 48
xtra2.c 47
dungeon.c 45
cmd4.c 43
z-term.c 38
files.c 32
melee2.c 28
variable.c 24
store.c 23
birth.c 19
wizard2.c 18
score.c 16
monster1.c 14
cmd2.c 14
attack.c 14
melee1.c 13
pathfind.c 12
init2.c 8
h-basic.h 4
z-rand.c 2
types.h 2
x-spell.c 1
option.h 1
cmd0.c 1
cmd-obj.c 1
angband.h 1

Change History (0)

Note: See TracTickets for help on using tickets.