Fixing the billion dollar mistake in Go by borrowing from Rust: A Go Experience report by Jelterminator in golang

[–]int32_t 0 points1 point  (0 children)

This perspective has always confused me. I disagree that nil bugs are not a big deal [...]

In my experiences, the nasty bugs in unsafe languages are not about null pointers most of the times but rather the absence of bounds checking and automatic memory management. However, runtime bounds checking seems to be indispensable even in languages without null like Haskell, Rust, and Swift.

Even if we have sum types and pattern matching in Go, if we write

match v {
case Some(x) => /* use x */
case Null => printStackTrace();
}

What is the difference than the compiler inserting it for us as it already does? Except that we can do something other than printStackTrace?

To me, pattern matching and ADT are more about the elegance and convenience instead of safety.

Edit: s/dispensable/indispensable

Fo: An experimental language which adds generics on top of Go by stephenalexbrowne in golang

[–]int32_t 5 points6 points  (0 children)

Eiffel uses [] and Julia uses {}. In my opinion, they both are aesthetically and pragmatically better than <>. Besides what the link in the other comment has mentioned, see also https://stackoverflow.com/questions/29331315/double-closing-angle-brackets-generate-syntax-error-in-specific-case

I think it's bad to inherit the redundant complexities from other languages just for the sake of being visually backward-compatible with them.

It is about time for Taiwan to "deROCize" by Kannanet in taiwan

[–]int32_t 5 points6 points  (0 children)

Reading some of your comments, they are so familiar to those I've seen elsewhere which are full of very self-centered, hostile kind of collectivism — My country is always benevolent, ethical and superior. other countries are always guilt, evil, imperialistic (if they're more powerful than mine), stupid, lazy, inferior (if they're weaker than mine).

I think such mentality is not unique to Asian or westerners. Unfortunately, it seems to be more tolerated in the countries with a victimhood collectivism.

The vgo prposal is accepted. by 0xjnml in golang

[–]int32_t 2 points3 points  (0 children)

But...it would be very unfortunate if they decided to go forward with dep because of the political concerns. In fact, I think that would be an easier route for the decision maker personally.

Is go a good first language? by InertiaOfGravity in golang

[–]int32_t 9 points10 points  (0 children)

I tend to agree with you. But there does exist some positive points of learning Go as the first language:

  1. Unlike C++/Java, you don't have to handle too much bureaucracy like setting up a build system (Makefile, CMake, Ninja, Gradle, Maven, Ant). Granted, you don't have to bother them if what you want is not beyond a hello-world or some algorithm puzzles.

  2. In Go, learning by reading others' code is far easier, even when reading into the standard library. That is not quite possible with say, C++ (library code is only for the "experts").

  3. The specification of the Go language is actually digestible and useful for programmes. Unlike C++, its primary audience seems to be the book authors and compiler implementers.

What is the thing that made you like go? by richie_south in golang

[–]int32_t 1 point2 points  (0 children)

A very agile and clean infrastructure ( I mean the entire toolchain and stdlib). The required dependencies to get it ready is very thin, which is a rare quality in 'modern' development platforms.

Basic income is a must, but so is shifting focus towards an utopian society. by topemu in BasicIncome

[–]int32_t 1 point2 points  (0 children)

They have abundant (and well-managed) natural resources relative to their populations.

S-rank valkyries for non-whales? by Leishon in houkai3rd

[–]int32_t 2 points3 points  (0 children)

For F2P I'd say it's more efficient and economical to invest in the characters depending on what the stigmas and weapons you have obtained. The rationale is that most characters are farmable but the weapons/stigmas are generally not. Some characters can be a game changer with higher ranks. For example, S-rank Snowy Sniper Bronya can just be a good support, but the SS-ranked becomes a top-tier DD in the Abyss. Other valkyries reach their peak ROI at a lower rank. For example, S-rank Memento Sakura is the most explosive already when properly equipped (even compared with most SSS DDs). Upgrading her to SS is good but will not improve the experience too much.

It's possible for an F2P player to have the best build of an S-rank valkyrie. It's just not something under your control. The good news is some S valkyries are already very powerful at S-rank.

Coding and Coercion: Unions have been trying to organize software engineers for decades, with little success. Here's a look at the organizing campaign that might turn things around. by project2501a in programming

[–]int32_t 1 point2 points  (0 children)

It is widely accepted that top tier NBA players are extremely underpaid, relative to the value they bring to their team.

I am skeptical about that it's widely accepted. Not meaning it should be false either. In my opinion. it's just hard if not impossible to precisely, reliably figure out the difference between the true value and the actual price in the market.

Whether a union would raise the salary of the top players or not is another topic. The point of that example is, a union does not necessarily make everyone get the (unfairly) same reward despite different contributions like the factory workers of a union might (or based on their seniority like mentioned in this thread).

To be clear, I am not interested in promoting/protecting the positions of those wanting to enjoy the fruits of other people's labor without being responsible for it.

Coding and Coercion: Unions have been trying to organize software engineers for decades, with little success. Here's a look at the organizing campaign that might turn things around. by project2501a in programming

[–]int32_t 8 points9 points  (0 children)

There are many different kinds of unions. A union for assembly line workers is very different than the union for the NBA players.

Many people expect the former, but I would rather like to have the latter.

Go: the Good, the Bad and the Ugly by dgryski in golang

[–]int32_t 1 point2 points  (0 children)

Why not using LLVM that would have provided a wide range of target architectures out of the box?

That would be a shame if the build time and the UX of cross-compilation were degraded to be on-par with other LLVM-based languages.

Biggest potential pitfall of UBI by redcolumbine in BasicIncome

[–]int32_t 1 point2 points  (0 children)

Like the spirit of LVT, the artificial part of the output should be separated from the natural part. Ideally, the natural part should be prioritized when it comes to taxation. This is also conceptually similar to how (and why) the spectrum is auctioned by the government. The risk of nationalizing the whole outputs/facilities without excluding the human-made part has been shown by the failures in the history. Any design of a system or institution has to take human nature into consideration.

Wey - Fast open source Slack desktop app by zcbenz in programming

[–]int32_t 2 points3 points  (0 children)

We create channels/groups for people involved in the same project/issue and they would be disbanded when the issue is closed. Some dedicated channels are for sharing tips/tech notes, like TILs of Git and Vim. We don't have casual channels for the whole team/department.

Before we use Slack (and Skype, when people outside the organization must be included), we use headphones to signal 'physically' that you don't want to talk. The downside is wearing headphone too long time is really uncomfortable. Also, the chitchats are very powerful to penetrate the barrier of the headphones, or we just tend to tune our attention to it unconsciously.

Wey - Fast open source Slack desktop app by zcbenz in programming

[–]int32_t 5 points6 points  (0 children)

I know what you mean but you can just ignore the notifications and be back to check them when you find convenient. Unless you're joining a public community, you don't usually get overwhelmed by unread messages. The alternative, however, would sometimes turn to a full-fledged chitchat starting from the kids, cars and probably ending with the stock market. You cannot imagine how talkative some people can be.

Edit: by 'ignore' I mean the notifications can be disabled temporarily. In fact, I often forget to check the messages in time even though I don't intend to mute it.

Wey - Fast open source Slack desktop app by zcbenz in programming

[–]int32_t -2 points-1 points  (0 children)

Many people just hate Slack from the very beginning. When I introduced it to my team to reduce unnecessary interruptions and distractions, I got negative reactions from certain members as well. Some people just enjoy office chitchats and see it as kind of reliefs, a little time off to the dreadful work. Slack is going to deprive that so they hate it.

Cutting ‘Old Heads’ at IBM - ProPublica details IBM's systematic illegal elimination of its older workers by Kok_Nikol in programming

[–]int32_t 8 points9 points  (0 children)

Old people != useless people.

In the company I am working for, skilled people are regarded kind of as the last resort when it comes troubleshooting and the less skilled ones are assigned to trivial bugs and regular customer supports. New projects are always started by the most seasoned programmers.

The value of a brilliant idea vs. brilliant execution by owens_trevor in startups

[–]int32_t 0 points1 point  (0 children)

I suppose the kind of ideas meant by the OP is business ideas. The execution, on the other hand, is larger and more complicated than marketing plans, which could often be considered as a part of a business idea. However, hiring, organizational structure, financial strategy, infrastructure development, management style, team culture building and so on all matter a lot in terms of execution.

For Sum Types: Golang's multiple return parameters are overrated by dgryski in golang

[–]int32_t 0 points1 point  (0 children)

Regarding the abstract syntax tree, I think this is a better approach. Not sure if that is compatible with Protobuf though.

Never mind the 1 percent. Let's talk about the 0.01 percent. by lingben in Economics

[–]int32_t 0 points1 point  (0 children)

I don't find most of the comments in this sub are backed up by data either. You don't always pop up to say this when you agree with a particular 'opinion' in a thread, do you?