Hacker Newsnew | past | comments | ask | show | jobs | submit | guggle's commentslogin

ON ERROR RESUME NEXT !


The next best line of code after "Hello World" :)


That's what I do too. At the end of the day, all I want is for my patch to be included so I don't have the problem anymore. I code for a living and I don't have to sell myself to recruiters in my field. But I fully understand why one would want to be credited, and that's just fair.


> I guess with newer apis such as the File System one Electron is slowly becoming unnecessary

Last time I tried, it was still a pain point. For one, the API felt... alien. Also, the performance was not good. I'm not sure why, maybe it's my Javascript-FU that's bad, but all in all I'd still use another language for this if possible.


Stuck for a while in python 2.x world with its "always backward compatible" pledge... then it lost attention I guess. Also, questionable technical choices. Now py 3.5+ compatible, but no compelling reason to use it.


Bottle was decent before Flask. Couldn't we use that instead ?


We could, and I did. Though, last update was last year, and v0.13 is unreleased for years.


> my favorite after htmx

That's interesting. I discovered Unpoly after HTMX (which I like) and decided to stay with Unpoly for a few reasons. Do you think hypermedia libraries will converge or do you think there is space for different interpretations ?


i definitely think there is room for multiple implementations

unpoly is higher level than htmx, with different design sensibilities and concepts like 'layers' (https://unpoly.com/up.layer) which is something that doesn't make sense from htmx's "just extend HTML" perspective


Exactly! I love the sweet spot that htmx hits; please don't change that!


:) i will not


Same path for me here. In particular, I found unpolys codebase to be of higher quality.


henning is an excellent programmer, I really admire him and his work


The htmx author is an excellent programmer, I really admire him and his work


:) thank you I appreciate you saying that


> “I need to update other content on the screen. How do I do this?”

This is a complete non-issue in unpoly as you can have multiple targets:

    <a href="/posts/5" up-target=".content, .unread-count">Read post</a>
https://unpoly.com/targeting-fragments

HTMX gets a lot of attention, but I think it's not the best option in its field.


And also up-hungry to opportunistically update navigation and cart item count. :-)


That's what I was expecting to see, a way of specifying a target. Certainly not returning custom headers for the benefit of such a 'simple' frontend library.


There are plenty of Flask equivalent in Go IMO. Django... not so much.


Yep! I think, at this stage, `plenty` is the point of my comment. While there are many competing and quality options (vibrant), none of them are the de facto leader (young).

I think, given where we are in 2023, it'd be difficult for a Django (i.e. ORM + templates + web framework all-in-one) to emerge in Go – it's possible we never end up with one, and that's OK. [I don't think there's much stomach for good people to work on sprawling projects like that anymore – we're in an season of backend development that favors separation (vs bundling) of concerns, from my perspective].

I'm not sure if it's a unique feature of the Go ecosystem that there isn't one clear winner in the "minimalist + pluggable web framework" or "ORM" categories, or if we just need to wait for the winner to emerge. Ironically, I think the quality of `net/http` and `database/sql` might have been an anti-catalyst for the development of leading libraries in those verticals.


> we're in an season of backend development that favors separation (vs bundling) of concerns

I work in a small team (5 developers), on multiple projects that span from 3 months to 1 year of work. While I like some of Go qualities (like speed, types, low memory, easy deployment,...) it would be hard for me to introduce Go to the team. The thing is that with Django (or Laravel, or Rails, or any "opiniated" framework) I can point the team to a nice single documentation website and associated framework that covers probably 90 to 95% of our needs and gets us right into the business logic real fast. There's real value in framework integration for teams like us (and for this very reason, we don't use Flask either, way to much fiddling). Also, the feature set in these solutions, while maybe "out of season", is fine for most of our projects.

At this point, should I want to push Go to the team, I would have integrate libraries myself and document... so basically starting my own version of a "framework". Like you said, it's a sprawling project. But hey... isn't it how Django started ? Maybe one day...

Meanwhile, I'll stick to using Go in my personal projects, until I have a very clear picture of the ecosystem.


You also don’t need to have frameworks for everything when the std library delivers


I never undertood the fuss with bandwidth and jquery either... it's only 30k once behind mod_deflate. To put it in perspective, vue.global.js is 463k or 104k once gzipped.

There are many reason not to use Jquery for greenfield projects now, but bandwith is not one of them.


The "fuss" is not about the specific numbers of bandwidth but more the mindset of not using more resources than absolutely necessary. And yeah, my breed who seems to care about this seems to be scarcer and scarcer out there but I promise, we still do exists.


Funny how some people have this mindset only about jquery and not unecessary fonts, icons, image backgrounds, etc.


When have I argued that? Or are you putting other people's opinion and saying I hold them?


Where did I say it was you ?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: