@lyse@lyse.isobeef.org @kat@yarn.girlonthemoon.xyz I spent so much time in the past figuring out if something is a dict or a list in YAML, for example.
What are the types in this example?
items:
- part_no: A4786
descrip: Water Bucket (Filled)
price: 1.47
quantity: 4
- part_no: E1628
descrip: High Heeled "Ruby" Slippers
size: 8
price: 133.7
quantity: 1
items is a dict containing … a list of two other dicts? Right?
It is quite hard for me to grasp the structure of YAML docs. 😢
The big advantage of YAML (and JSON and TOML) is that it’s much easier to write code for those formats, than it is with XML. json.loads() and you’re done.
One of the nicest things about Go is the language itself, comparing Go to other popular languages in terms of the complexity to learn to be proficient in:
- Go:
25keywords (Stack Overflow); CSP-style concurrency (goroutines & channels)
- Python 2:
30keywords (TutorialsPoint); GIL-bound threads & multiprocessing (Wikipedia)
- Python 3:
35keywords (Initial Commit); GIL-bound threads,asyncio& multiprocessing (Wikipedia, DEV Community)
- Java:
50keywords (Stack Overflow); threads +java.util.concurrent(Wikipedia)
- C++:
82keywords (Stack Overflow);std::thread, atomics & futures (en.cppreference.com)
- JavaScript:
38keywords (Stack Overflow); single-threaded event loop &async/await, Web Workers (Wikipedia)
- Ruby:
42keywords (Stack Overflow); GIL-bound threads (MRI), fibers & processes (Wikipedia)
According to the RedMonk programming language rankings from Jan 2023, Go and Scala are tied at 14th place 😏
1 JavaScript
2 Python
3 Java
4 PHP
5 C#
6 CSS
7 TypeScript
7 C++
9 Ruby
10 C
11 Swift
12 Shell
12 R
14 Go
14 Scala
16 Objective-C
17 Kotlin
18 PowerShell
19 Rust
19 Dart
@shreyan@twtxt.net my condolences for the pain you no doubt will inflict upon others that will have to maintain whatever you write in Ruby.
ahh this is useful https://go.dev/doc/modules/managing-dependencies. the go culture doesn’t typically have large dependency graphs like Ruby or JS.
On the blog: Writing Jekyll Plugins https://john.colagioia.net/blog/2021/07/21/jekyll.html #programming #blog #techtips #ruby
Posted to Entropy Arbitrage: Bicker Progress - In Like a Lion https://john.colagioia.net/blog/media/2020/03/02/bicker-clean.html #ruby #rails #programming #project #devjournal #bicker
Posted to Entropy Arbitrage: Bicker Progress - End of February https://john.colagioia.net/blog/media/2020/02/24/bicker-live.html #ruby #rails #programming #project #devjournal #bicker
Posted to Entropy Arbitrage: Bicker Progress - First (Belated) Mensiversary https://john.colagioia.net/blog/media/2020/02/17/bicker-live.html #ruby #rails #programming #project #devjournal #bicker
Posted to Entropy Arbitrage: Bicker Progress - (Almost) Inventors’ Day https://john.colagioia.net/blog/media/2020/02/10/bicker-test.html #ruby #rails #programming #project #devjournal #bicker
Posted to Entropy Arbitrage: Bicker Progress - Groundhog Day (Belated) https://john.colagioia.net/blog/media/2020/02/03/bicker-pre-reply.html #ruby #rails #programming #project #devjournal #bicker
Posted to Entropy Arbitrage: Bicker Progress - January Waning https://john.colagioia.net/blog/media/2020/01/27/bicker-id.html #ruby #rails #programming #project #devjournal #bicker #libravatar