532 karma · joined Mar 29, 2013 (13y ago) · 244 submissions
comment 6y ago · link · parent
This world needs an alternative to anything built by the USA. That way superpowers will have to go to the negotiation table on an equal footing. We don't want one bully. We need at least 5 bullies.
comment 6y ago · link · parent
comment 6y ago · link · parent
Solution is to improve teaching of STEM subjects at primary and high school level. The problem will sort itself. Second option is protectionist in nature. Favour US residents ahead of international students, even when international students are way better. Second option will only drop the quality of PhD graduates coming from those colleges.
comment 6y ago · link · parent
There is no difference. Ternary operator is a syntactic sugar for if/else.
> Is there even any reason for if/else that doesn't return a value (that may be void/unit/similar)?
Main reason why an if statement returns a value is because it is used to test if condition is true or false. If it returns other values, it was going to make it more complicated. Especially when you have an if statement with multiple conditions that must be ORed or ANDed.
What is awful about the variable syntax? This syntax was copied directly from C language.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
This statement sounds like your co-founder is just getting rid of you because he realised a designer can do better than you and won't need shares of the company. You validated the market for him and he doesn't need you. This is the reason I always tell idea guys to pay me or go and learn programming themselves and implement their ideas.
comment 6y ago · link · parent
However, there are nationalists who aren't welcoming if you are from a poor African country. They only welcome other races expect their own race -> African. It is mostly poor African people who think other Africans are coming to take their jobs. Good thing is that they don't have government support. Unlike in the US where it is the head of state telling people not to come to their country.
I suspect we even make our border to be porous just to allow other people to freely enter the country.
comment 6y ago · link · parent
[1] https://www.gov.za/welcome-official-south-african-government...
comment 6y ago · link · parent
comment 6y ago · link · parent
I feel sorry for new Developers because I learnt those features bit-by-bit over the years and they are expected to learn them at a go. It is also hard to understand why a syntatic was introduced when you never used the way it used to be done.
comment 6y ago · link · parent
comment 6y ago · link · parent