Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
INTPnerd
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
INTPnerd
6y ago
It is true that the underlying technology used to write the code to begin with should be less forgiving. If you use a strictly typed, compiled language instead of PHP, you would have no choice but to fix a lot more of the errors because it
2.
▲
by
INTPnerd
6y ago
Even if you can reason about the code enough to come to a conclusion that seems like it must be true, that doesn't prove your conclusion is correct. When you figure something out about the code, whether through reason and research, or
3.
▲
by
INTPnerd
7y ago
Thanks! These definitely sound like what I should explore next in my journey.
4.
▲
by
INTPnerd
7y ago
Which languages would you say are really good for defining your own types? Would they be a good fit for the example I provided where a function needs to accept integers larger than zero? Do they also allow you to define your own operations
5.
▲
by
INTPnerd
7y ago
This is a good point. Right now Kotlin is my favorite language. By default classes and methods are closed for inheritance, and therefore for polymorphism. I like the way this is the default, but you can override it when/if necessary. I
6.
▲
by
INTPnerd
7y ago
Which languages would you say are really good for defining your own types? Would they be a good fit for the example I provided where a function needs to accept integers larger than zero? Do they also allow you to define your own operations
7.
▲
by
INTPnerd
7y ago
In Kotlin classes and methods are closed by default, making avoiding inheritance and polymorphism the default. It also makes you mark each variable as mutable or immutable, by declaring it with a var or val, making you think more about (and
8.
▲
by
INTPnerd
7y ago
The main benefit of classes is as a way to define custom types. Otherwise you are stuck with the types built into the language, which are not designed to help ensure correct program state, logic, and behavior. When you use classes in this w
9.
▲
Using code is bad
(medium.com)
2 points
by
INTPnerd
8y ago
|
0 comments
10.
▲
“To Type or Not to Type?” That Is Not the Question
(medium.com)
1 points
by
INTPnerd
8y ago
|
0 comments
11.
▲
by
INTPnerd
8y ago
What a stubborn Emacs user, all they had to do was switch to Vim..
12.
▲
TDD is for programmers who don't program
(medium.com)
2 points
by
INTPnerd
8y ago
|
0 comments
13.
▲
by
INTPnerd
8y ago
That's brilliant, using heart attacks to treat strokes
14.
▲
by
INTPnerd
9y ago
I'm not saying you should not rename it instead. I'm just suggesting that there may be times when placing a helpful comment is easier than renaming it. So you might start by adding a comment, and then consider if you can rename th
15.
▲
by
INTPnerd
9y ago
I mostly agree with you. I think the key is to always keep improving the code, don't expect or try to achieve perfection, and keep refining your concept of what makes for "improved" code. So if you come across a method name t
16.
▲
by
INTPnerd
9y ago
Yeah, I would have recommended Kotlin. Runs on the JVM, so benefits from the matureness of Java, but is a more modern, and better designed language. A reason to choose Rust over this is if you actually have reason to believe you will need s
17.
▲
by
INTPnerd
9y ago
I prefer to just do screen sharing with an audio conversation going to maximize the learning and flexibility. Since I also like Sococo, I prefer to just stick to that, since that is one of the features it provides. I will now explain why. I
18.
▲
by
INTPnerd
9y ago
I'm working on a new flavor of the logic paradigm https://github.com/still-dreaming-1/PurposefulPhp
19.
▲
by
INTPnerd
9y ago
It has MRU tab switch ordering!!! Oh wait, Firefox already had that, I just didn't care because it was.. Firefox. Now that it is faster, I care. If either of those is missing I don't care about the browser. It needs to offer MRU t
20.
▲
Programming via time travel paradoxes
(github.com)
2 points
by
INTPnerd
9y ago
|
0 comments
21.
▲
by
INTPnerd
9y ago
I was actually kind of excited until I started reading the sample code and that it deletes code that has bugs. Of course this coming from the guy who went on a reddit rant about how not having 100% coverage is usually irresponsible.
22.
▲
HTML is now versionless... since 2011
1 points
by
INTPnerd
10y ago
|
0 comments
23.
▲
by
INTPnerd
10y ago
"As an Emacs user"... Switch to Vim. Problem solved.
24.
▲
by
INTPnerd
10y ago
The intro video is very...interesting. They have this fast paced, upbeat music while they very slowly do things on the phone, like make phone calls. It felt like they thought we should be impressed it can make phone calls.
25.
▲
by
INTPnerd
11y ago
I like that it's open source now, but until they remove the need to mark certain references as weak or unknown, it still just feels like Apple doesn't get modern languages. Until the automatic memory management is more automatic,
26.
▲
by
INTPnerd
11y ago
Enjoy the freedom of working remotely without losing the benefits of working from the same office. You can even change your office layout to be on a spaceship in space!
27.
▲
Work from a virtual office...in space!
(sococo.com)
2 points
by
INTPnerd
11y ago
|
1 comments
28.
▲
by
INTPnerd
11y ago
It is true that natural is not always less carcinogenic, but it is one of the simplest and most effective reasoning points. In fact this way of reasoning is so effective, that I am already pretty sure you are wrong about the peanut thing, o
29.
▲
by
INTPnerd
11y ago
I don't know of any modern source of health information that I trust completely. That goes for the articles in Natural News and even the things Mike Adams himself publishes. I will admit that it is not uncommon for his reasoning to be
30.
▲
by
INTPnerd
11y ago
Correct, but most of them do use it as a preservative. I agree the article should address this instead of just saying processed meats are bad. Also, high quality vitamin C can block the nitrosamine formation if you consume it with your proc
More ›