7 ms·
For the backend I start with Node, then get tired of the runtime errors and switch to Go. Go is cool but soon I get tired of writing “if err == nil” so I switch
by noncoml 8y ago
For the backend I start with Node, then get tired of the runtime errors and switch to Go. Go is cool but soon I get tired of writing “if err == nil” so I switch to Haskell. Haskell is nice but soon I get tired of not finding decent libraries for some not very popular things that I use, so I say fuck it and go to rails. Ruby is nice and Rails feels well thought out and solid, but then I can’t help be annoyed that it’s not fast, so fuck it, I switch to Rust. I get tired of lifetimes and wrapping everything in RefCells so I switch to Erlang. Erlang is cool and all, but no fucking meta programming. Sucks, let’s try Lisp...
I am not making fast progress, I think the problem is my keyboard, I should try buying that Ducky one I have been eyeing for quite a while.
- newen 8y agoCheck out Elixir. It's Erlang with metaprogramming.
- nso95 8y agoJust pick something and stick with it, every technology has its problems.
- noncoml 8y agoYou are right! I should stick with Scala. It will also give me the opportunity to learn a new language! Play looks good, but maybe I should go with Scalatra instead? Should I be using Slick? It's quite different than any ORM I used so far, maybe I should bake my own Scala ORM. OK then, here we go. One more decision, REST or GraphQL? GraphQL seems to be the future. Let's go with that. Man, types are nice and Scala's type system is powerful, but sometimes I wish I had the flexibility of a dynamic language. It would make prototyping much faster. Fuck it, "git checkout -b node_v2"
- nso95 8y ago(ノಠ益ಠ)ノ彡┻━┻
- nostrademons 8y agoMay I recommend creating an AI to automatically rewrite your codebase into the flavor of the month, thus saving yourself significant amounts of labor which you could use to create an AI to improve the AI which is rewriting your codebase?
- abledon 8y agoThis is an example of some of the best performance art on hacker news
- smt88 8y agoAlthough I love it and upvoted both comments, it's also an example of why straightforward comments waste much less time/text than jokes/satire (on HN)
- anon15476372 8y ago> types are nice and Scala's type system is powerful, but sometimes I wish I had the flexibility of a dynamic language. It would make prototyping much faster. You can use both scala and clojure seamlessly. I'm writing my first gui app in clojure for prototyping swing, but if I choose to rewrite parts of it in scala the rest of the clojure code would continue to work. There are several ways. using clojure in a scala project: https://github.com/Geal/sbt-clojure https://github.com/Geal/sbt-clojure using scala in a clojure project: https://github.com/technomancy/lein-scalac https://github.com/technomancy/lein-scalac jvm polyglot with maven: https://stackoverflow.com/a/9676895 https://stackoverflow.com/a/9676895 example: https://blog.michielborkent.nl/blog/2016/07/26/clojure-from-scala/ https://blog.michielborkent.nl/blog/2016/07/26/clojure-from-...
- jbg_ 8y agoOn a single project, I agree. But each time I start a new pet/side project I like to use a different stack. It's a good motivation to learn new technologies, and you learn more about them by using them "in anger" than you do in a purely theoretical environment.
- shams93 8y agoLooking at nuxt.js, express and mongodb and then deploying customer pages as static pages on s3 rather than running these dynamically from the app. Picked up 100 customers in a single day so now I have to move quick.
- deleted 8y ago[deleted]
- dom96 8y ago> but no fucking meta programming. Sucks, let's try Lisp... See now this is where you went wrong. Should have switched to Nim at that point. Can't beat it's familiarity, speed and metaprogramming.
- karmakaze 8y agoHonest question. Is metaprogramming really that beneficial for any application development? I can certainly see the appeal, but how much will it improve productivity or quality compared to shipping features without it? Isn't the actual wrong turn focusing on a metaproblem rather than the problem you set out to solve?
- newen 8y agoMetaprogramming is just macros: code that generates code. One use is to get rid of repetitive code patterns. Another is to move certain computations to compile time. Your statement that metaprogramming is used to solve a metaproblem is just wrong. Those two words are only related in that they share a prefix.
- TeMPOraL 8y agoThird is to introduce new concepts into your language as if they were part of that language from the get-go. Which can entail both eliminating repetitive code patterns and doing computation at compile time.
- karmakaze 8y agoI get what and why of metaprogramming. I was specifically trying to quantify working without it. My reference to metaproblem wasn't what metaprogramming you want to do but rather solving the problem of a lack of it by switching languages mid-development. How often has a commercial project been rewritten to gain metaprogramming mid-dev? I added commercial because personal projects have different objectives.
- deleted 8y ago[deleted]
- iovrthoughtthis 8y agoI... touche.
- jimmy1 8y agoYou should just stick to go, I have a solution for your "if err != nil" problem: https://twitter.com/natethefinch/status/899730215957561344?lang=en https://twitter.com/natethefinch/status/899730215957561344?l...
- anothergoogler 8y agoA video of somebody using a snippet, wow.
- i_made_a_booboo 8y agocongratulations on never shipping anything ever.
- kukabynd 8y agoDo those who commented not understand /s?
- arendtio 8y agoYou skipped PHP right in the beginning. I use PHP for prototypes and Go for serious stuff.
- NicoJuicy 8y agoC# myObject?.Property
- insulanian 8y agoYou should try F#.
- asimpson 8y agoyou forgot this: /s