propper naming for your classes?
category: general [glöplog]
rydi: it looks like you would benefit from just thinking about your system, its architecture, it's design, and put it on paper. do flowcharts. That can be a boring step, but if you want clean code, that will be very helpful. And like someone else said, the naming should come naturally. If not, use funny acronyms :)
what's a class? my c compiler doesn't seem to know the term.
Quote:
what's a class? my c compiler doesn't seem to know the term.
that's a class:
Code:
and a properly named class, that is :)class Monad m where
(>>=) :: forall a b . m a -> (a -> m b) -> m b
(>>) :: forall a b . m a -> m b -> m b
return :: a -> m a
fail :: String -> m a
As we all know, the naming is the most difficult part of any demo production process. :)
yesso: I think that's a fucking ace book, we also have it at work.
platonicians are cute :)
BarZoule: i said that to myself for a very long time, its cleaning process have started finally! how long time it will take until i am satisfied with the base i dont know. i don't wanna rush it either. slow process. :S. i just started to look at the code on papers some weeks ago, since i bought myself a multi-printer-thing! wee. much easier to read code on paper than scrolling through hundred lines of code and swiching between files on the computer imho.
i ordered that craftmanship book, i dont have any books like that, so it'll be interestin. i may have to wait a few weeks until get it from amazon though.
i ordered that craftmanship book, i dont have any books like that, so it'll be interestin. i may have to wait a few weeks until get it from amazon though.
oh, cool! It's a pretty good book, the only bad thing is that it assumes you know Java. I don't really know Java but I've understood it fairly well anyway.
yeah, kind of.
but most of the things in there can be applied to any other language as well. we follow alot of the hints also for our c++ projects.
but most of the things in there can be applied to any other language as well. we follow alot of the hints also for our c++ projects.
yeh. well i know java fairly well, so that wont be a problem.
Google for "Clean Code" and "Avax"..
classname SuperHögen
methods:
SuperHögen1
SuperHögen2
SuperHögen3
SuperHögen4
SuperHögen5
SuperHögen6
SuperHögen7
SuperHögen8
SuperHögen9
SuperHögen10
methods:
SuperHögen1
SuperHögen2
SuperHögen3
SuperHögen4
SuperHögen5
SuperHögen6
SuperHögen7
SuperHögen8
SuperHögen9
SuperHögen10