Sourceful
clojure-style-guide
Sourceful | clojure-style-guide | |
---|---|---|
21 | 15 | |
686 | 3,974 | |
- | - | |
2.6 | 2.9 | |
8 months ago | 3 months ago | |
Swift | ||
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Sourceful
-
What is the best way to display a syntax highlighted code block like this?
This might be a good place to start.
- Which are the best news sites to keep up to date with iOS programming?
-
Learn UIKit. Started with SwiftUI
www.hackingwithswift.com has good free resources and also some paid. Good place to start ;)
- Is there an "Odin Project" for learning iOS?
-
Swift for Game Development
Sometimes the documentation can feel incomplete… though sometimes there are some really helpful tutorials. Once place I’ve found good info is from WWDC. Another is from Paul Hudson on https://www.hackingwithswift.com
-
Apple's "Unleashed" | Pre-Event Megathread
Check out these resources.
- Want to learn native development iOS. Any tips?
- Resources for learning swift for someone new to Swift but not Programming and CS?
-
Which roadmap should I follow to learn iOS development as an Android Developer?
For example, Paul Hudson's Hacking with Swift has 100 days of Swift and 100 days of SwiftUI. The first 15 days are dedicated to basics of programming like learning about variables, dictionary, etc. maybe you can skip through those but I would still look into topics like extensions, protocols, etc.
-
Two questions from an older guy interesting in coding. Any advice or opinions would be greatly appreciated.
iOS programming is really straightforward, and with the advent of Swift and SwiftUI, it is really accessible. I kicked around an idea last year, and managed to get quite a decent prototype together very quickly. It doesn't have the best documentation for the language and software development kits, but there are loads of resources on the internet (Hacking with Swift is a good place to start).
clojure-style-guide
-
XML is better than YAML
Fixed link to that style guide entry: https://guide.clojure.style/#opt-commas-in-map-literals
Per that style guide, the above map would be formatted like this (on HN, just indent by two spaces):
{:a 1
-
How to be more idiomatic?
As for the broader question of Clojure style, there are style guides like https://github.com/bbatsov/clojure-style-guide and tools like clj-kondo to help learn and reinforce important practices.
-
What makes Clojure better than X for you?
Basically, you learn the expected places to put whitespace, make sure to edit your code accordingly and all of the parens will be automatically closed and adjusted. Using parinfer—which you can also combine with the more traditional paredit—makes writing Clojure code a lot like writing Python.
-
Poignant perspective I found about Clojure's community in r/ExperiencedDevs
Also, there are guidelines, the styleguide, clj-kondo, kibit etc. And if you don't review your interns/juniors code to teach them good practices - you're doing it wrong (well, this one is true for any practical PL out there).
-
How to learn Clojure idioms?
Another good resource is https://guide.clojure.style/ -- the (unofficial) community style guide for Clojure.
-
4-space indents?
It's not an answer to your question but i can refer you to https://github.com/bbatsov/clojure-style-guide
-
Clojure Coding Guide
The same could be said about the "Clojure Style Guide" from the Cider guy. As a matter of fact, there was an issue about it that was quickly declined https://github.com/bbatsov/clojure-style-guide/issues/232
-
Wrote one of my first clojure programs (tic-tac-toe). Any constructive criticism would be greatly appreciated.
Formatting is not that great, see https://github.com/bbatsov/clojure-style-guide btw
- Want to get into closure, but struck at practice
- [clojure-noob][code-review]I've written my first piece of code in clojure, can you guys review it ?
What are some alternatives?
awesome-swiftui - A collaborative list of awesome articles, talks, books, videos and code examples about SwiftUI.
prettier - Prettier is an opinionated code formatter.
PythonDataScienceHandbook - Python Data Science Handbook: full text in Jupyter Notebooks
Crafting Interpreters - Repository for the book "Crafting Interpreters"
swift - The Swift Programming Language
CppCoreGuidelines - The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++
protonmail-macos - Experimental email client for the ProtonMail service written in Swift.
30-days-of-elixir - A walk through the Elixir language in 30 exercises.
SwiftTerm - Xterm/VT100 Terminal emulator in Swift
Kalman-and-Bayesian-Filters-in-Python - Kalman Filter book using Jupyter Notebook. Focuses on building intuition and experience, not formal proofs. Includes Kalman filters,extended Kalman filters, unscented Kalman filters, particle filters, and more. All exercises include solutions.
vue-native-core - Vue Native is a framework to build cross platform native mobile apps using JavaScript
papers-we-love - Papers from the computer science community to read and discuss.