Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
flavio81
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
271.
▲
by
flavio81
9y ago
Please don't assume that the problems that are specific to Javascript also happens with other dynamically typed languages.
272.
▲
by
flavio81
9y ago
My experience is the same with Common Lisp: it is very strongly typed, so type mismatches never pass without an explicit error.
273.
▲
by
flavio81
9y ago
You are 100% right.
274.
▲
by
flavio81
9y ago
>The problem is that both CL and Scheme communities have very little to do with each other. At first I thought this was absurd, but after some time learning Lisp this was more obvious. Scheme and Common Lisp are built around totally diff
275.
▲
by
flavio81
9y ago
>Code generation is mostly bad(...)C structs and enums, C macros (or "C code generation" if you prefer) is very, very different from Lisp macros. Lisp macros are built into the language, the whole language itself is designed ar
276.
▲
by
flavio81
9y ago
>Why not Clojure on the backend as well? It is said that CL provides a nicer experience to the developer (like, for example, clearer error messages, a more interactive development experience, etc.)
277.
▲
by
flavio81
9y ago
>Only if you want to teach people to hate s-expressions This must be stressed. It is very important to use a lisp-aware editor. It doesn't have sense to do stuff that a lisp-editor can do automatically, such as auto-indent, and keep
278.
▲
by
flavio81
9y ago
>It needs EVIL for us vim users. I guess on the future we could have VPortacle, which would be VIM + SLIMV (Superior Lisp Interaction Mode for Vim, the Vim counterpart to SLIME).
279.
▲
by
flavio81
9y ago
>Quicklisp Um... basically the only command you need to learn is ql:quickload followed by the name of the system you want to load. Perhaps you had problems with the concepts of Lisp packages (namespaces)?
280.
▲
by
flavio81
9y ago
Yes, you are correct. It's just that I considered "Lisp"="Common Lisp" in this case.
281.
▲
by
flavio81
9y ago
I've used a "Portable Python" distribution, that bundled CPython with PyCharm and PIP.
282.
▲
by
flavio81
9y ago
There's not much there for SPA development, perhaps because Lispers generally aren't in that field. That being said, there is Parenscript, which is a Common Lisp subset that compiles server-side to javascript (so it can be used cl
283.
▲
by
flavio81
9y ago
Portacle is a god send, it basically allows you to directly start development in Common Lisp without having to install separately (and configure): - SBCL (very fast lisp implementation) - Quicklisp (lisp package manager) - ASDF (builder) -
284.
▲
by
flavio81
9y ago
>Unfortunately, however, doing basic I/O, networking (this is around 2006) and testing was too complicated for me It is trivial today. Many good libraries for networking, web servers, JSON, serialization, etc, etc. Many excellent Co
285.
▲
by
flavio81
9y ago
>and the most indispensable construct for those applications is GOTO. That's what I like about Lisp: It isn't opinionated. There's no weenie saying "GOTOs are harmful so we delete them from our language", or &quo
286.
▲
by
flavio81
9y ago
>If you work in a complex or rapidly evolving domain, or if you are creating a big system that needs to work reliably and be able to be corrected (patched) while it's operating
287.
▲
by
flavio81
9y ago
>Lisp isn't any more powerful than Javascript. Sorry. Would you please elaborate?
288.
▲
by
flavio81
9y ago
>The true Curse of Lisp would be that Lispers are constantly de-skilling themselves. Bollocks. You'd be surprised by seeing how many Lispers actually have great knowledge of low-level. In fact it's almost a "fashion"
289.
▲
by
flavio81
9y ago
>So you pick a LISP language you're severely limiting your hire pool. I'd rather have 5 very good Lisp programmers than 50 code monkeys.
290.
▲
by
flavio81
9y ago
>why Lisp has so much admiration and praise on HN. I played around with Scheme some long time ago, read SICP, learned a lot Just consider that, while being a very beautiful language, Scheme is different to Common Lisp. If you are faced w
291.
▲
by
flavio81
9y ago
>More importantly it isn’t statically typed (like F#, Haskell, etc) You can statically type variables (bindings) in Common Lisp if you want: (defun little-function (x y) (declare (type fixnum x y)) (+ x y)) A
292.
▲
by
flavio81
9y ago
>so the huge benefits of lisp aren't quite as obvious as they used to be They still haven't caught up. I don't find any other language that gives at least 3 of these features - Fully interactive development -- i can recomp
293.
▲
by
flavio81
9y ago
TL;DR: a one liner source file tells the compiler to set main as a 4GB array; in the process the compiler might run out of memory.
294.
▲
by
flavio81
9y ago
>Half of the GoF design patterns just emulate idioms from functional programming. Real OOP languages like Smalltalk and IO express many useful things that C++ cannot. >Although templates are abused for metaprogramming they are ver
295.
▲
by
flavio81
9y ago
>If it weren't for the oddness of the language, Lua would be a perfect fit. Near-C speeds, super flexible, no recompiles. True. But there are also other dynamic languages that can go as fast as LuaJIT and of course faster than V8: C
296.
▲
by
flavio81
9y ago
>Luajit is the only dynamic language runtime that's faster than V8, Also Common Lisp ( much faster than V8), Forth, and probably some Scheme implementations.
297.
▲
by
flavio81
9y ago
>Demanding the support of spaces in filenames significantly complicates code as simple space delimination no longer works Wow. So human beings should stop using allowed file names because it's too hard for you?
298.
▲
by
flavio81
9y ago
Good. I'm ready to go deep into Go, as soon as Go supports: a- Generics b- True, elegant exception handling c- Built-in metaprogramming, not that "Go Generate" joke. Nice to have: Sum types. Nice to have: Shorthand for interf
299.
▲
by
flavio81
9y ago
>Go's syntax and the patterns it encourages are both tailored to the harsh reality that code is read a lot more than it's written. Code also needs to be written quickly and cleanly so it can be augmented later. I don't thi
300.
▲
by
flavio81
9y ago
Interesting, i live in a third-world country and we already have a "General Data Protection Regulation" law in place.
More ›