Better HN
topnewbestaskshowjobs
Log inSign up

ducharmdev

893 karma · joined Oct 2, 2020 (6y ago) · 241 submissions

Submissions

comment 5y ago · link · parent

No problem, glad I could help - that does clarify where you're coming from. Interestingly, when Brendan Eich was creating JavaScript, he actually intended to make it more like Scheme before his supervisors pushed him to make the syntax more like Java. So I think your thought process is inline with his original intentions.

When you say minimal surface area and "whole thing fits in your head," I can't help but think of the Alpine.js API. Although I'm still mixed on how I feel about Alpine, I can't deny how beautifully simple the API & docs are for it.

I also wonder whether web assembly could play a part in what you're suggesting. It's a part of the web platform, would potentially help with providing robust in-browser tooling... even the S-expressions of human-readable .wat files look rather Lisp-like, albeit too low-level for most frontend work. But I don't know wasm that well, just thinking out loud.

comment 5y ago · link · parent

But Clojurescript is a JS compiler too...?

Regarding the in-browser experience, does Figwheel do something that browser extensions for React/Vue don't do? These tools allow you to inspect component state, replay events, etc. Not exactly sure how much IDE we're talking about here (for example, GitHub Codespaces comes to mind).

I guess I'm just confused at exactly who the audience is that you have in mind. What you're describing here sounds like the opposite of a minimal, native-friendly framework.

comment 5y ago · link · parent

What is the audience for this lightweight framework you have in mind? Devs supporting server-rendered sites with minimal JavaScript?

In that scenario I can understand how the build step could introduce complexity, but I'm a bit surprised to see Svelte lumped in with the others simply because it introduces a compiler. If size is a concern, it's hard to beat Svelte emitting framework-less vanilla JavaScript (whether as a complete single-page app, or as piece-meal components you sprinkle throughout a more minimal site).

comment 5y ago · link · parent

Not sure if you've looked into either of postgrest or postgraphile, but I feel like those tools may be right up your alley. Rather than have your app layer generate SQL via an ORM, these tools instead generate your app layer based on your database schema, functions, etc. Postgraphile (generates graphql APIs) is particularly friendly towards frontend-heavy web apps.

comment 5y ago · link · parent

Out of curiosity, what would you build today?

comment 5y ago · link · parent

If you think words don't have this problem, you should read into Jacques Derrida's concept of différance. This may be more apparent in emojis since they're relatively newer.

comment 5y ago · link · parent

I can understand that; I think there's also hesitation at that point in any relationship, where both parties are unsure of how much to invest in further social interactions.

One thing I would say though: if you believe that this is an intrinsic trait that others have, rather than something that can be learned, then this belief may hold you back more than you may think.

comment 5y ago · link · parent

Not OP, but I always try to watch out for opportunities to talk about other people's interests. When someone's eyes light up about a topic or they get an excited tone, I try to ask them open-ended questions to get them talking more. Its pretty affirming to get thoughtful questions about a topic you have strong interest in.

It works even better if you can manage to remember those things people get excited about. Even if you don't remember anything else about the person, it gives you something to revisit in future conversations.

comment 5y ago · link · parent

Totally agree - often it seems people take a transactional approach to work as a way to insulate themselves from social or economic harm, but then proceed to complain about the transactional nature of work that they assist in perpetuating.

But there's plenty of room to be critical of companies without sacrificing the positive things you've listed above.

comment 5y ago · link · parent

Bingo. 30kb doesn't seem like much, but its easy to think it doesn't matter when viewing one dependency in isolation. But if you say "it's just x kb" to all dependencies, then you have a problem when they're all aggregated.

This is why I appreciate Svelte's take: with a compiler-heavy approach, you can have a great dev experience without saddling your users with extra dependencies.

comment 5y ago · link · parent

This feels like a false equivalence; how many of those 2000s users were browsing the web on mobile compared to today?

comment 5y ago · link · parent

I've not heard of that, is this a 4-yr degree? I'm on the fence about going back to school for something like this, as it would just be for personal growth (and I already spent 4 yrs in university, albeit other fields). Math seems difficult to self-teach compared to software dev though.

comment 5y ago · link · parent

- F# : I've learned basic concepts of functional programming through JavaScript/typescript, but have wanted to learn a more functional language. I do C# for work, so F# seems like a logical next step.

- Databases : in the past I feel that I've learned too heavily on ORMs, so lately I've been trying to learn how databases actually work. Things like how to interpret execution plans, the data structures used for indexes, etc. Found some really cool tools like Postgrest & Postgraphile that are making me more interested in database-centric apps.

- Math : as a self taught dev that studied English in college, I was never exposed to much math. But I love thinking about the underlying patterns and structures of anything, and math seems to be an invaluable tool in doing this. Not sure how I'm going to self-teach math (or where to begin), but the little bit of discrete math I've learned has been super fascinating.

comment 5y ago · link · parent

Just the mention of "mandatory fun" sends shivers through my socially anxious spine

comment 5y ago · link · parent

Interesting observations; although by definition glue code is amorphous and hard to pin down, I would like to see more concrete examples of the problem discussed here.

Is this a general problem related to how we build interfaces for our implementations? Or is this more a problem with particular kinds of module systems? (Or both)

comment 5y ago · link · parent

Weird, not sure why that happened - maybe it's just cached for me? But yeah that's the thread.

comment 5y ago · link · parent

After hesitating with Tailwind I did come around to loving it, but I've had a much harder time getting over my initial impressions of Alpine. I recognize that one, it targets a very specific type of website, and two, it's easy to let subjective feelings about what makes for readable & maintainable code get in the way of an unbiased take on the framework. But writing JavaScript in strings is unappealing to me, even for server-side sites that just need some sprinkling.

Some questions that come to mind that would sway me one way or another:

- How is the tooling and debugging experience?

- Do you get intellisense with the VSCode extension within x-for, x-show, etc. expressions?

- Can you easily set breakpoints in devtools and step through your code?

- In reference to the issue below, how susceptible would I be to XSS attacks in using this framework?

https://github.com/alpinejs/alpine/issues/237#issue-57653341...

comment 5y ago · link · parent

Maybe it's simply my lack of Rust experience, but the HTML builder syntax turns me off to this. I don't want to learn this library's APIs simply to build HTML; at that point I'd rather just manually create and manipulate DocumentFragments - especially since vanilla js still seems more performant according to the linked benchmarks:

https://rawgit.com/krausest/js-framework-benchmark/master/we...

comment 5y ago · link · parent

Not sure what individuals you're referring to specifically, but I would agree that we are shaped by economic forces - not necessarily "corrupted" or "misguided", simply shaped. Because we have limited time and energy, in general we're more likely to do what has the least resistance (e.g. what's popular or easier) to make money rather than what we want/what interests us. Tenure/Patreon/? loosens this up a bit, allowing people to focus on more niche interests & research. Sure, some of this will be garbage, but some of it may not.

comment 5y ago · link · parent

As problematic as academia is, that's kinda the idea behind tenure - to make the pursuit of research independent of economic incentives. Obviously this is not the case in practice with grants, the allure of industry jobs, low pay, etc., but I wonder if something similar could be achieved in a more contemporary context with platforms like Patreon.

comment 5y ago · link · parent

Not enough information. It largely depends on the product, the team, and even soft skills or domain knowledge.

In some contexts, yes having knowledge of compiled or non-GC languages is critical. But there is a certain baseline of programming knowledge that allows any dev to be decently productive; for many products & teams, soft skills become more important after that point. For example: if the interpreted lang dev is great at communicating and the compiled dev is terrible, some teams may elect to choose the first for that reason alone.

comment 5y ago · link · parent

You could also argue that it puts you at risk of hiring someone from the other end of the spectrum: a knowledgeable senior dev that is more interested in writing over-engineered solutions for the fun of it, rather than matching the solution to the problem.

Rust is great and shows a lot of promise, but I think you need to have some strong arguments when using a lower-level systems language outside of a systems-focused context. Not saying it can't/shouldn't be done, but it's worrying to me when people stop thinking critically because of the hype.

comment 5y ago · link · parent

As one of those devs in the 99%, I get that. But if you're okay with getting outside your comfort zone a bit, you can still find people to (at least informally) mentor you throughout your career.

For example, I volunteer as a mentor for Code Louisville, and we actively encourage students to stay in touch even after the program when it comes to job hunting, programming questions, etc. I've also managed to find experienced devs for myself through local dev meetups, but have also had luck just messaging people on Linkedin. Sure, not all devs are going to be willing, but a lot of people respond well to basic curiosity and humility.

comment 5y ago · link · parent

It's tricky though, because I could make a series of arguments that sound reasonable individually or out of context, but when made together in a specific context, they take on new meanings. Without more context, we end up inferring quite a bit based on the info presented to us.

Beyond that, I think it was foolish to prioritize debating language in the first place rather than focusing on making employees feel valued and included. People in leadership positions hold a lot of power in shaping where the conversation goes, and they could've pivoted to a more constructive conversation about company values at any point. But rather than do that, it was more important to be right.

comment 5y ago · link · parent

I mean, that is the immediate conclusion one can draw from what you're saying. It sounds like you're saying all sexually exclusive relationships are within the group of healthy relationships, which is different than saying only some of them are within that group.

comment 5y ago · link · parent

Mentors can give you feedback that books can't, though. No matter how good a person is at self-reflection, you simply can't perceive yourself outside of your own perspective.

Not trying to knock reading of course, but it's no replacement for a good mentor.

comment 5y ago · link · parent

I'm confused about what the article is actually saying here:

> Python is the fastest growing language with more than six million developers, according to SlashData

> SlashData, however, notes that Rust and Lua were the two fastest growing programming language communities in the past 12 months, albeit from a lower base than Python.

Is this talking about growth relative to the language's previous numbers? I wish this linked some more specific information on this data.

What I think would be more telling is to see some historical comparisons, i.e. how does Rust's current growth rate compare to other languages when they were Rust's current size? That way we could compare apples to apples.

comment 5y ago · link · parent

Thanks for the context - I read that 'eat what you cook' line but was unsure what that had to do with email.

Ultimately I agree with the ideas here, even if they require a little unpacking. A lot of great things have come about from people solving their own problems first, later realizing that other people experience the same problems. Evan You's initial work on Vue is a good example of this: he created it to solve actual problems in his own work, not to solve hypothetical problems on day one.

comment 5y ago · link · parent

Imo the issue is not that this ambiguity prevents growth, but more that it contradicts the principles described here. If you have a community that strives to be different than siloed monocultures, then it's important to make participation in the community easier for outsiders, and to make it's ideas accessible to people from different backgrounds.

comment 5y ago · link · parent

I'm confused about the line "Selfdogfood instead of email." I followed the link to get an understanding of the concept of selfdogfooding, but am not sure I understand this binary opposition.
1
56789