HNHacker News
TopNewBestAskShowJobs

kod

718 karma · joined June 28, 2007

submissionscomments
kod··on TypeScript’s quirks: How inconsistencies make the language more complex
Scala was released within a couple years of c#. Typescript and Rust were a decade later.
kod··on The Joys of Unix Keyboards
Kinesis led to thumb strain for me. I ultimately settled on a traditional tenkeyless with mechanical switches.

Different strokes for different folks.

kod··on Defunctionalization: Everybody Does It, Nobody Talks About It
Kotlin doesn't have destructuring pattern matching.
kod··on Functional programming design patterns (2015) [video]
He wrote a book:

https://pragprog.com/book/swdddf/domain-modeling-made-functi...

kod··on Java JIT vs. Java AOT vs. Go for Small, Short-Lived Processes
Generics are architecture astronomy?

This is parroting anti-intellectual nonsense.

kod··on What's new in Java 12, 13 and 14
when expressions will be exhaustive, when statements will not.

Needless distinctions like that make the fresh air a little less fresh...

kod··on What's new in Java 12, 13 and 14
Kotlin doesn't have real pattern matching.
kod··on Ask HN: Best book / resources on leadership, especially for tech teams?
Self promotion usually rubs me the wrong way, but judging from this excerpt, your book looks like it's well worth reading:

http://spodekacademy.com/wp-content/uploads/spodekacademy-co...

kod··on Software Security Is a Programming Languages Issue (2018)
Whether they'd make the argument publicly or not, it's still true that it is the reality, and the company I currently work for is better than a lot I've seen.

Point taken about active malice... but I've also seen companies with mostly in-house code cover up instances of rootkits on production servers and malfeasance related to credit cards.

I'd rather companies use third party open source crypto, for instance, even if it sometimes gets compromised, because it's a lot more likely to come to light.

kod··on Software Security Is a Programming Languages Issue (2018)
I work for a 10,000+ person public company that just outsourced critical business functions via a 5 year contract that doesn't have any meaningfully enforceable description of the work to be done.

If you're trying to talk about hiring for full time employment as opposed to contract work... what happens there is as long as people are able to get through whatever idiosyncratic hazing process was involved in hiring, they're going to be at the company for at least a year. It's perceived as hard / risky to fire people, even if they can't program their way out of a wet paper bag.

This stuff happens all the time, it's not that different from evaluation and use of third party code. "This project has 500 stars on github, it must be good." "This guy used to work for Google, he must be good." Now you're stuck.

kod··on Software Security Is a Programming Languages Issue (2018)
On the contrary, you'd be asked what the cost benefit analysis was vs doing it in house, then told to continue.

CEOs outsource critical things without meaningful oversight all the time.

kod··on Java switch – 4 wrongs don't make a right
Maybe I wasn't clear enough.

Kotlin checks exhaustivity of when only if it is used as an expression, not as a statement.

https://kotlinlang.org/docs/reference/control-flow.html#when...

Kotlin doesn't allow destructuring in when:

https://discuss.kotlinlang.org/t/destructuring-in-when/2391

This is just straight up weak coming from any reasonable ML derived language with real pattern matching.

kod··on Java switch – 4 wrongs don't make a right
Kotlin has the extremely dubious behavior of not checking exhuastivity when it's a statement. And it doesn't have destructuring, not for principled reasons but because the developers thought it would be too much work.

How is this more powerful than rust match?

kod··on Ask HN: Is there a better employment route to high earnings than FAANG?
No, they were introduced by the founder, and were getting the job done, just not anywhere near as efficiently.
kod··on Ask HN: Is there a better employment route to high earnings than FAANG?
> I don't know how you could expect to be even that valuable

I've had roles where I changed ~5 lines of code that resulted in at least my yearly salary worth of reduced operating costs. Programming can be a high-leverage activity, FAANG salaries aren't necessarily irrational.

kod··on Writing An Interpreter In Go (2016)
I've never done F# professionally so I can't speak to how idiomatic it is, but it gets the job done from a learning point of view.
kod··on Writing An Interpreter In Go (2016)
https://www.itu.dk/people/sestoft/plc/

Sestoft is a very clear writer, and F# is a better language than most for writing interpreters or compilers.

kod··on Today’s Top Tech Skills
https://h1bdata.info/topjobs.php

Software engineer and senior software engineer are 100k+, among many others.

kod··on Pointless work meetings 'really a form of therapy'
No one is going to admit in writing on slack that they are stuck. In person it's a lot easier to call people out.
kod··on Switzerland vs Silicon Valley for Software Developers
78704 is still the best zip code in the country though
kod··on We decided to go for the big rewrite
It's not "my" flavor of Scala, it's what it's designed for. It's a pragmatic, ML family language.

Read Odersky's book, write code, still have access to all JVM libraries and a lot less brain damage.

There are people that try to write worse Haskell in everything from Perl to Kotlin too. The reputation is overblown and has little to do with the actual language.

kod··on We decided to go for the big rewrite
Doing real work in Scala for a decade. Never argued about any of that.
kod··on We decided to go for the big rewrite
> "Sure, Scala will work great! It's future-proof and everyone will love it!"

Scala is still the least-bad option for a JVM language.

Anyone who can't be productive in Scala (not "better java", not "worse haskell", Scala) isn't someone you want on your team anyway.

kod··on The Myth of the Wealthy Welder
email ckoeninger@nexstardigital.com for more info
kod··on Why Go and Not Rust?
"Rust is a better C++"

Rust is very clearly an ML derivative, not (just) a better C++

kod··on The Myth of the Wealthy Welder
I'd hire pretty much anyone who actually did most of the exercises in How to Design Programs + Types and Programming Languages.
kod··on What a Senior Staff Software Engineer Does
I've definitely seen individual contributor salaries in the 170-190 range in Austin.
kod··on A+, the Programming Language of Morgan Stanley
I'm not sure Mason is the best example here. It had an O'Reilly book http://shop.oreilly.com/product/9780596002251.do and was used by the RT bugtracker, as well as non-Amazon businesses, including the largest Usenet provider in the world.
kod··on What’s New in ES2019
Or y'know, someone who doesn't see a reason to purchase a new Apple device every N years of forced obsolescence.
kod··on Ballista: Distributed Compute with Rust, Apache Arrow, and Kubernetes
One of the creators of Spark apparently thinks Rust is worth pursuing:

https://www.weld.rs/

← PreviousPage 2 of 11Next →