FizzyOrange

joined 2 years ago
[–] FizzyOrange@programming.dev -1 points 1 month ago (11 children)

Yeah that would be reasonable if he actually did want to hang black people from trees.

[–] FizzyOrange@programming.dev -2 points 1 month ago

you’ve been fairly obvious in your cryptofascism

Wow first time I've been accused of fascism! Quite riduclous.

[–] FizzyOrange@programming.dev -5 points 1 month ago (1 children)

It's not obvious to me. Which bit is transphobic exactly?

[–] FizzyOrange@programming.dev 0 points 1 month ago (1 children)

Good policy, but where did he ever say that?

[–] FizzyOrange@programming.dev -1 points 1 month ago (1 children)

Definitely, but there's a middle ground between "let's pretend politics doesn't exist", and "you must 100% agree with my views or I'll cancel you".

[–] FizzyOrange@programming.dev 4 points 1 month ago

I agree, KDE is actually pretty amazing these days. Bizarre that the Linux ecosystem is focused around Gnome when there's another option available that so much better.

[–] FizzyOrange@programming.dev 7 points 1 month ago (1 children)

RVA23 is pretty nice. This is the first RISC-V profile that's really viable for desktop class CPUs. (But I still wouldn't buy a RISC-V chip expecting to run Linux on it until they have proper support for UEFI, ACPI, etc. and "unified discover" is specified, which won't be for probably 3-5 years.)

[–] FizzyOrange@programming.dev 1 points 1 month ago

Yeah I'm watching Ty. Pytype and Pyre are not serious options. Nobody really uses them, and Pytype is discontinued. Facebook have a new project called Pyrefly that's also worth watching.

But for now, use Pyright. No argument. If you're really worried about Microsoft (and not Facebook or Google for some reason) then use BasedPyright.

[–] FizzyOrange@programming.dev 8 points 1 month ago (2 children)

I would say:

  1. Just practice, do projects. Also if you can work on projects with other people because you'll read a lot of bad code and learn how not to do things (hopefully).

  2. Learn lots of programming languages. They often have different and interesting ways of doing things that can teach you lessons that you can bring to any language. For example Haskell will teach you the benefit of keeping functions pure (and also the costs!).

If you only know Python I would recommend:

  1. Learn Python with type hints. Run Pyright (don't use mypy; it sucks) on your project and get it to pass.

  2. Go is probably a sensible next step. Very quick to learn but you'll start to learn about proper static typing, multithreading, build tools (Go has the best tooling too so unfortunately it's all downhill from here...), and you can easily build native executables that aren't dog slow.

  3. C++ or Rust. Big step up but these languages (especially C++) will teach you about how computers actually work. Pointers, memory layouts, segfaults (in C++). They also let you write what we're now calling "foundational software" (formerly "systems software" but that was too vague a term).

  4. Optionally, if you want to go a bit niche, one of the functional programming languages like Haskell or OCaml. I'd probably say OCaml because it's way easier (it doesn't force everything to be pure). I don't really like OCaml so I wouldn't spend too much time on this but it has lots of interesting ideas.

  5. Final boss is probably a dependently typed language like Lean or Idris. Pretty hardcore and not really of much practical use it you aren't writing software that Must Not Fail Ever. You'll learn loads about type systems though.

Also read programming articles on Hacker News.

[–] FizzyOrange@programming.dev 0 points 1 month ago (1 children)

Clean Code was pretty effectively debunked in this widely shared article from 2020. We probably don't need to talk about it anymore.

Frankly I'm surprised it was ever recommended. Some of the things it says are so obviously insane, why would anyone think it was good?

My only guess is the title? "Your code sucks; maybe read this book that I haven't vetted about clean code." sort of thing?

I'd say it would be good to have a modern replacement with good advice to recommend... But in my experience you can't really learn these things by reading about them. You have to experience it (and have good natural taste).

This list of code smells is pretty decent at least: https://luzkan.github.io/smells/

view more: ‹ prev next ›