Better HN
topnewbestaskshowjobs
Log inSign up

jgstyle

4 karma · joined Apr 11, 2020 (6y ago) · 5 submissions

[ my public key: https://keybase.io/jgstyle; my proof: https://keybase.io/jgstyle/sigs/CoZlgpSu5W24EGFtaFTjAhglx4zc0wdRhHvsUX1YKk4 ]
Submissions

comment 4y ago · link · parent

> There’s nothing wrong with writing reusable functions, and most well-written functions will be reusable without adding any needless complexity. However, too often I’ve seen developers over-generalize a problem to the detriment of readability.

I think one of the main points why a lot of developers tend to over-generalize is because they are not specific enough with the name of the function they are trying to write. Although it looks dull, I find the best workflow is giving functions (or methods) very specific names.

I think there are two major advantages as to why you should do it: - the problem mentioned in the text of over-generalising is minimised since you are forced to think about what exactly that method should do when creating it, not while writing it. - other people using your code will (to a certain degree) instantly know, what the function method is doing without having to look at the code

comment 4y ago · link · parent

[For anyone interested](https://www.theverge.com/2017/1/6/14188624/apple-prototype-i...)

comment 4y ago · link · parent

The design reminded me very much of Craft, which im using currently → What are the advantages of using a card base note system over a regular "file"based one? Obviously, I can see the "visual" difference, but in terms of actual usage, where's the difference?

comment 4y ago · link · parent

Not to forget the big cookie banner

comment 6y ago · link · parent

I use the app "Things 3" and set deadlines, works pretty Goode... only downside: Its only available in the Apple ecosystem and its not free.

Btw.: its also my preferred Task manager