Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cjfd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
301.
▲
by
cjfd
4y ago
The summing over all paths is basically already there when you do the two slit experiment. In that case you sum over two possible paths. So it is already right there in the basis of quantum mechanics.
302.
▲
by
cjfd
4y ago
"Why would anyone in a rich country with a high functioning rail system like The Netherlands want to drive?" Well, I live in The Netherlands and the place where I work is not very reachable by public transport. The 138 trains per
303.
▲
by
cjfd
4y ago
Yes Iteration is great. That is the reason I love TDD so much. You can iterate, nothing you write has to be perfect but continuous improvement soon creates something that is much better than what I would have made if I had set out to write
304.
▲
by
cjfd
4y ago
Is children occasionally seeing a bit of porn unsafe?
305.
▲
by
cjfd
4y ago
No, it turns to code base into an absolute garbage where 50% of the characters that are on display are part of a comment that noone needs.
306.
▲
by
cjfd
4y ago
Actually, I am quite good at writing docs. That is why I hate mandated comments in certain places. I would like to write better docs than that. In fact your comment tells me you (or perhaps your colleagues) are the one who is terrible at wr
307.
▲
by
cjfd
4y ago
"they remove a lot of useless arguing". It is not like I have not heard this argument before. Unfortunately I have also experienced how it works out in practice. It goes more or less like this. "No, your desired change to the
308.
▲
by
cjfd
4y ago
You are right. I give you too little information. class Rectangle: ... def get_height() -> Micrometer: .... Now we clearly need to sufficiently document this method by saying "gets the height of the Rectangle in Mic
309.
▲
by
cjfd
4y ago
I hate style guides. Probably the worst thing about this one is the pydoc. An not just pydoc. Pydoc, javadoc, doxygen. It is all useless garbage that litters the code with useless comments explaining that the get_height method "gets th
310.
▲
by
cjfd
4y ago
That release branches make sense in some circumstances does not mean one has to take all of 'git flow' on board. This is the problem that the comment you are responding to notes. One should design a branching strategy depending on
311.
▲
by
cjfd
4y ago
This does not make an awful lot of sense. I have 1/2 and 3/4. The mediant is 4/6 which is 2/3. Okay. Now I have 1/2 and 6/8. Actually, these are the same numbers, it is just a different representation of 3/
312.
▲
by
cjfd
4y ago
Well, being a C++ programmer for years who really would not mind going back to C++. Yes, these are known things. When one wants to call atoi, one has to know that either the string is zero terminated or that non-numerical characters follow
313.
▲
by
cjfd
4y ago
Used sparingly comments can be very good. One should comment non-obvious things or gotchas. Where it goes completely of the rails is when programmers are forced to write comments in mandated places. One ends up with a code base where half o
314.
▲
Only 1% Need Microservices
(medium.com)
3 points
by
cjfd
4y ago
|
1 comments
315.
▲
by
cjfd
4y ago
Find a job where you can work alone on something, maybe. Working alone removes much hassle. You also list 'refactoring' as something that you don't like. This will be part of any programming job as soon as it outgrows 'h
316.
▲
by
cjfd
4y ago
One can do lots of things with RAII. I once wrote some classes to generate xml. I used constructors to write opening tags and destructors to write the corresponding closing tags....
317.
▲
by
cjfd
4y ago
IMO ZFC is extremely ugly because it has no notion of types. One can ask questions like 'is the number 7 equal to the trivial group?'. Ultimately both are a bunch of nested sets so a priori they may or may not be equal. The calcul
318.
▲
by
cjfd
4y ago
"most of the projects are boring CRUD apps". This is often repeated but to me it indicates that something is wrong. As soon as it is boring, it no longer is programming. If they are so boring why isn't it just done by a confi
319.
▲
by
cjfd
4y ago
Proof systems are for doing mathematics. A function in these is a mathematical function and not a function in the programming sense of the word. For a mathematical function 'this computes forever' is not an acceptable outcome.
320.
▲
by
cjfd
4y ago
Maybe better advice is to not take on as identities things that you just took over from other people without questioning. Also know what the other side is thinking before deciding what belongs in your identity and what not. There are things
321.
▲
by
cjfd
4y ago
A very good thing to read to realize that when one hears this kind of complaining today there is nothing new in it and it is not a signal of the apocalypse coming or of a unique new age. Well, the apocalypse or a new age might be coming, bu
322.
▲
by
cjfd
4y ago
Test Driven Development by Kent Beck. Split the process of development into small steps. One does not always have to design the complete solution beforehand. Periodic improvement/refactoring leads to better solutions than up-front/
323.
▲
by
cjfd
4y ago
Nodes are states of indeed "all of the code". Edges are commits. The "all of the code" thing does sound expensive but it actually is not because git does massive caching. That is what all of the directories in .git/
324.
▲
by
cjfd
4y ago
For a "sufficiently complex application" it is more likely than not that the framework of which half was implemented in an "ad hoc, informally-specified, bug-ridden, slow" way actually is not available anywhere. Instead,
325.
▲
by
cjfd
4y ago
I think they should stop adding new major feature to C++. It is big enough. One can do enough with it. O, you cannot call a lambda recursively? Then just tell people to write a normal named function instead of polluting the language further
326.
▲
by
cjfd
4y ago
It is mostly to do with color. If something is not a color singlet, gluons attach to it. Trying to separate the two quarks of a meson it is thought that a tube of gluons forms between them of which the energy is linear in the length of the
327.
▲
by
cjfd
4y ago
I find readability one of the most important properties of code. As the saying goes 'code is more often read then written'. Also, we have all seen where disregarding readability leads us, namely the java language, where one gets t
328.
▲
by
cjfd
4y ago
'Need' is a big word. One 'needs' very few things. Software has actually been written in assembly, so what do we actually 'need'? Answer to both questions is yes. When I read something like this I find the 
329.
▲
by
cjfd
5y ago
Yes, I think this is true. While there have to be some big picture strategic design decisions like 'do we use a database or not' and 'is this a server/client application or not' below that very high level it quickly
330.
▲
by
cjfd
5y ago
If we are, in aggregate, happier with the things we buy this year than we are with the things we bought last year then there has been economic growth.... since humans can always tell themselves the current thing is better than the previous
More ›