Code Department

2.1K posts

Code Department banner
Code Department

Code Department

@code_department

Fan of Hyprland, Neovim, HTML, CSS, Datastar, Lua, R, Julia, Odin, Gleam, Roc, Elixir, Ocaml and Go who doesn't yet have time to use most of them.

Присоединился Kasım 2022
65 Подписки60 Подписчики
Закреплённый твит
Code Department
Code Department@code_department·
According to cwvtech.report 🤓 sites using @htmx_org 🗿or @elixirphoenix 🔥 perform better on CWV, INP & Lighthouse score than sites using React, Svelte, Vue, Angular and even Rails Hotwire Turbo, Laravel Livewire😎 probably due in large part to the lower page weight 🗿
Code Department tweet mediaCode Department tweet mediaCode Department tweet mediaCode Department tweet media
English
0
1
23
8.6K
Code Department ретвитнул
Abakcus
Abakcus@abakcus·
1/3 + 1/9 + 1/27 + ··· = 1/2. The proof is in the picture. No words needed.
Abakcus tweet media
English
25
223
1.4K
70.9K
Code Department ретвитнул
gingerBill
gingerBill@TheGingerBill·
I really detest the XKCD 927 comic, and I think it is actually a completely misunderstanding of the concept of standards and standardization. xkcd.com/927/
English
18
3
121
10.5K
Code Department
Code Department@code_department·
Error handling ratings from @rats159159159, author of this excellent video. Typescript: 5/10 Java etc. (exceptions): 6/10 Zig: 7/10 Go (errors as values): 7/10 Rust, Gleam (sum types): 8/10 Odin (errors as values): 9/10 youtube.com/watch?v=zOUsVf…
YouTube video
YouTube
English
0
0
0
50
Code Department
Code Department@code_department·
@karl_zylinski It's a typical market failure. Companies competing to maximise short term capital gain don't care if they're are destroying the field as a whole, or even their own future if they can sell and realise the gains before people realise.
English
0
1
0
128
Karl Zylinski
Karl Zylinski@karl_zylinski·
I watched the Wading through AI video with Casey and Dimitri. There is this general consensus that junior programming roles will be less sought after. They discuss the problem of how we might not have enough seniors in the future. The idea seems to be that seniors write code but also carefully check code written by AI. But with fewer juniors, there will be few seniors. However, in the video Dimitri also says that we may stop writing “syntactic constructs” (the actual code) and focus on high level stuff. But in order to understand what the AI wrote you need to be proficient in writing and reading said constructs. So it becomes a bit paradoxical: Seniors will use AI in place of juniors and carefully read the AIs code while also writing some of their own code. But a lot of programming lies in having a feeling for the craft, which is thousands of said constructs put together. As you write things out you gain understanding. So if you stop writing “syntactic constructs” then you are on a slippery slope to forgetting how to both read and write code. Soon you have no choice but to vibe code. And then software quality is dead. I'm not anti AI. I think it's great for figuring out bugs, reviewing code and getting example implementations of common problems. But in order for the senior to stay in control you need to write your own code and also very carefully audit all generated code.
English
9
3
100
6.4K
Code Department ретвитнул
Datastar CEO
Datastar CEO@DelaneyGillilan·
New podcast out! We discuss the pending approach of Datastar 1.0, internalising the Tao, and show how Stellar CSS works in practice. youtu.be/igELI3octGc
YouTube video
YouTube
English
0
6
24
1.2K
Code Department ретвитнул
Datastar CEO
Datastar CEO@DelaneyGillilan·
Sometimes it be like that friends
Datastar CEO tweet media
English
7
1
44
1.8K
Code Department
Code Department@code_department·
S: HTML, CSS, Datastar, Lua, R, Julia, Odin, Gleam, Roc, Elixir, Ocaml, Go A: Zig/Jai (just don't need the extra features personally vs Odin) B: Javascript, Python, Kotlin, Swift, F# and C# (powerful due to the ecosystem or native capabilities despite the flaws in their designs)
English
0
0
0
49
Adam
Adam@adamdotdev·
Built-in themes in the OpenCode desktop app were bad, much more vibrant and true to the originals in the latest release. Before -> After
Adam tweet media
English
18
0
228
14K
oxcrow
oxcrow@oxcrowx·
To me, there are only few modern languages that can be called simple: Odin, Austral, OCaml, Scheme, Lua, C3, and Go. Most other widely loved / used languages like Rust, Zig, C++ etc. are fairly complex. Now the dilemma is: Users seem to prefer the complex languages more. Why?
English
141
17
532
54.6K
Code Department
Code Department@code_department·
Midwits are drawn to complexity. Others to simplicity. But the "popularity" of C++ > Rust > Zig > Odin > C3 is exactly the order of development and the amount of time and money that has gone into using, developing and promoting them. Complexity is a correlate not primary cause.
oxcrow@oxcrowx

To me, there are only few modern languages that can be called simple: Odin, Austral, OCaml, Scheme, Lua, C3, and Go. Most other widely loved / used languages like Rust, Zig, C++ etc. are fairly complex. Now the dilemma is: Users seem to prefer the complex languages more. Why?

English
1
0
0
105
gingerBill
gingerBill@TheGingerBill·
@oxcrowx People want complexity because they think they require complexity AND because people think doing complex things is means they are doing more work because if it was simpler, it must mean they are not doing "work". It's a weird psychological thing many people have.
English
5
4
154
5.3K
Code Department ретвитнул
Code Department
Code Department@code_department·
@htmx_org True. It's both. Some engineers actively seek out and especially create more complexity for a number of reasons. To look smart. To feel smart. To make it so they can't be easily replaced. Java was initially extremely popular because it looks more complex than C but is easier.
English
1
1
0
264