Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
weberc2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
361.
▲
by
weberc2
7y ago
> You are aware that there are more articles on this topic than that singular one presented, right? Yes, I'm sure there are lots of articles, many of which are slanted to support one agenda or another and maybe a few that aspire to
362.
▲
by
weberc2
7y ago
Does that article (and publication) strike you as trustworthy? Does it appear that the author and publication aspire to present a balanced perspective? Would you be persuaded if I linked to a Fox News (or similar) article on the issue?
363.
▲
by
weberc2
7y ago
I'm not sure (1) exists, probably by definition. And I certainly don't agree that Python makes it easy to "do it correctly". Our Python app has daily 500s due to typing errors. We also suffered for years because we wou
364.
▲
by
weberc2
7y ago
Is there anything to substantiate this, or is this a generic "Christian therefore bigot" slur?
365.
▲
by
weberc2
7y ago
No straw men here Greg. Looks like you’ve confused this thread with another.
366.
▲
by
weberc2
7y ago
Can you elaborate on the importance and how that factors into Apple’s strategy? Saying that China is important and Tim Cook is Very Smart doesn’t make for a very enlightening comment nor a suitable rebuttal. If you’re onto something, I’d li
367.
▲
by
weberc2
7y ago
No, it wouldn’t make sense for me to make the 95/5 distinction only to prescribe a 100/0 response. My post was a call for sober judgment, which is admittedly not very popular here.
368.
▲
by
weberc2
7y ago
> Among those I work with, my opinion seems to be shared. Yeah, preference distributions are hard to assess. Either of us could be wrong. > I didn't say otherwise. What I did say is that go adds visual noise that isn't prese
369.
▲
by
weberc2
7y ago
Why is it better to be locked into your own company’s IT department rather than AWS? I would argue AWS gives a better ROI than 95% of corporate IT departments, and generally less hostile to boot.
370.
▲
by
weberc2
7y ago
> It will continue to rise because it offers flexibility ... The cloud is more expensive for large companies, for most workloads. The way I read this is that the operating costs are higher in the cloud, but presumably dwarfed by recouped
371.
▲
by
weberc2
7y ago
> I agree, but if you for instance look at the TypeScript comparison sub-thread, you'll see that all the issues with both the syntax and implementation of the type-system are being aggressively resolved, and likely will all be so by
372.
▲
by
weberc2
7y ago
> All my projects now use poetry for the full build tooling and I love it. No setup.py needed just include any settings in the standard pyproject.toml file example: https://github.com/timothycrosley/portray/blob
373.
▲
by
weberc2
7y ago
Like I said, I disagree with this. I suspect this is either because you're very experienced with Python and relatively inexperienced with Go, or perhaps you're simply an outlier. I think if you surveyed developers who are very exp
374.
▲
by
weberc2
7y ago
Yeah, I get it. It’s a little disingenuous of me to say that interface{} qualifies as generics, but I can’t quite put my finger on why it is different than Python. Neither are typesafe (although mypy supports generics, but has many other is
375.
▲
by
weberc2
7y ago
Go has those features in the reflect package (so as far as I know, Go is just as powerful as Python), but you’re right that they aren’t easy to use. If you do use them, it’s quite clear, and will be addressed in code review so you don’t hav
376.
▲
by
weberc2
7y ago
These are all fair points. I really enjoy Python, but there are too many things I fight with on a regular basis that simply aren’t issues in Go. It could be so much better if (1) there was a better type system (mypy is unnecessarily shoehor
377.
▲
by
weberc2
7y ago
Build tooling (“go build” vs setup.py), type checker, text editor support (hovering over a symbol for the type and docstring), documentation generator / godoc.org, dependency management (pip is great but it’s not reproducible; go’s too
378.
▲
by
weberc2
7y ago
The opposite is true in my experience. Most of that boilerplate is brackets and indentation, which visually frame the interesting bits, drawing your eye to them. This is, of course, subjective, but I use both regularly and at worst this is
379.
▲
by
weberc2
7y ago
Pypy is super cool, but it doesn’t solve for maintainability and it only improves performance by one order of magnitude, leaving it 1-2 orders slower than Go. Besides, IMO, goroutines are so much nicer than Python’s async.
380.
▲
by
weberc2
7y ago
It _is_ like Python in practice (I use both languages all the time). That’s largely why you see it used in many of the same places as Python. It has dynamic features by way of interface{}, which is every bit as “generic” as what Python has
381.
▲
by
weberc2
7y ago
Yeah, but typically only locally. Like using a for loop instead of a list comprehension, or handling errors. So more keystrokes, but in most cases not more complexity. In some cases (generic programming), Python really is more expressive, b
382.
▲
by
weberc2
7y ago
Sounds like Go. ;) This is a cheeky remark, but I use Python and Go, and Go very much feels like an improved Python in most ways. Especially when it comes to static analysis, build tooling, distribution, performance, etc. In particular, I
383.
▲
by
weberc2
7y ago
It would be great if Go had sum types for error handling, but errors-as-values is great. And the conventions around error handling are pretty easy to work with—the biggest issue is still the anemic error interface (no standard for stack tra
384.
▲
by
weberc2
7y ago
Pretty sure modules addresses the dependency management concerns, no?
385.
▲
by
weberc2
7y ago
I agree that error handling has been one of very few rough points for Go. I think the scorn people pour out onto Go is undeserved. It’s easy to say that they didn’t learn from other languages’ experience, but much of that “failing to learn”
386.
▲
by
weberc2
7y ago
Pretty sure the try proposal was killed. Generics hasn’t seen much headway to my knowledge. Not sure what’s up with it.
387.
▲
by
weberc2
7y ago
I’m only familiar with people bashing long Java stack traces because (1) they are often hilariously long, with stateless web applications dumping tenfold the frames of a crashing webbrowser, (2) they contain some number of abstract factory
388.
▲
by
weberc2
7y ago
My 2015 MBP is crawling between Safari, Docker, VS Code, and BitDefender (antivirus). Not sure how bulky the JVM is these days. That said, I wish it supported Python.
389.
▲
by
weberc2
7y ago
> There is a whole cottage industry of methods for your discipline of choice: Clean, SOLID, TDD, etc. I'm not a big OOP fan, but I'm pretty sure Clean and SOLID are principles (or sets of principles), while TDD alone is a pract
390.
▲
by
weberc2
7y ago
Go for it (why would I take offense?). Rust is a fine choice. I'd pick Rust if I ever really needed to eek out every bit of performance out of my system and/or needed safety and was willing to trade quite a lot of developer produc
More ›