News for hackers. Stuff that matters.

tjwii

Re:Show HN: Bato – A Filipino Programming Language on Friday January 12, 2018 @12:48PM (#16134733)
There are already way too many languages on this planet being kept alive by all those pathetic governments limiting their citizens to their own (little) country. English should already long be the World's 1st language for every human being IMAO. I'm Dutch and it took me ages of struggling to get to my current level of English and I'm still learning..

So, this feels like a huge step back and a great way for Filipino developers and companies to completely limit and restrict their selves.

It's a fun coding experiment, but my negative response is because you shouldn't want something like this to become popular.

Re:What does code readability mean? on Monday January 08, 2018 @10:45AM (#16097485)
Readablility is definitely not similar to understanding. The problem I have with reading code from other codebases is not understanding the coherence. Naming of variables is a great deal here, one poorly chosen name can totally confuse me. And still it is highly subjective because an other developer might instantly see the relation just by chance.

If you're unfortunate enough to code full-stack web apps then you'll likely be dealing with hundreds of npm libraries you've never heard of! How can you know all possible effects and side effects of 1 simple call to a method in some library? That alone would be a quite a study in some/most cases.

It would be great if for any project you can find at least an overview and explanation of the coherence that the files and used modules have in relation to each other. But unfortunately that is often missing already to start with, so you end up with a vast and often unsolvable puzzle.

Programming computers is still in its infancy. We definitely need better tools and structures to understand what's going on IMHO. It makes me laugh when people tell me they solve this with a linter.

Re:The Great Attention Heist on Monday January 08, 2018 @08:12AM (#16096444)
haha, on opening the page a popup shows that needs to be clicked away to read the article!
I think it is quite funny how a tool to turn proper code into the mess that is ESxx can become so popular. I'm still using Coffeescript 2, it's awesome :)
Re:Should function arguments be reassignable or mutable? on Monday January 01, 2018 @09:11AM (#16046103)
I think immutability of arguments should be optional by using a const keyword, like in c:

  int add(const int a, const int b);
Re:Path to a free self-taught education in Computer Science on Saturday December 30, 2017 @02:06PM (#16036812)
> Calculus is useless, until it is not at which moment it turns to incredible help.

Yes! And that's why you need to learn to be fluent in: Spanish, Chinese, Russian, French, and some other languages. You never know when you need them!

Re:WHO to recognize gaming disorder as mental health condition on Saturday December 30, 2017 @11:53AM (#16036028)
yep, and we have football disorder, coding disorder, watching television disorder, 40 hours a week job disorder, dying in poverty disorder, bla bla bla.
> They have a higher quality

That's how it is sold indeed, but not entirely true. There is definitely a better signal to noise ratio, but the sample rate is pretty bad which makes the quality lower than normal FM. It's only a 128kbs MP3/AAC stream!

It's only because people don't hear noise anymore they think the quality is better. Analog FM is by the way much more robust too as a signal.

A shame the government forces people to invest in lower quality qear..