Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
flavio81
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
61 ms
·
601.
▲
by
flavio81
9y ago
LOL. I had an Atari 130XE so examples for IBM Basic, Apple ][ and Commodore didn't work either! Even worse if the examples were for the Spectrum, which had an even more peculiar dialect!
602.
▲
by
flavio81
9y ago
"The most violent programming example ever put on a textbook!" http://w3.sista.arizona.edu/classes/ista450/spring15/project...
603.
▲
by
flavio81
9y ago
This book is destined to be a classic programming book, just as "The C programming language", "The Little Schemer" or "Operating systems: Design and implementation". I would really like to meet Conrad Barski an
604.
▲
by
flavio81
9y ago
>With ))) we just repeatedly type ))) until the cursor jumps to the target opening paren we are trying to close. Exactly. Or, the IDE can close all the parens for you: SLIME command "slime-close-all-parens-in-sexp", which you
605.
▲
by
flavio81
9y ago
>How many applications on the web are written in a lisp? You are using one right now: Hacker News is written on a Lisp: Arc. Also, the first HTTP 1.1 compliant server and used by the W3C to debug the HTTP 1.1 reference implementation,
606.
▲
by
flavio81
9y ago
>How many stack overflow questions and answers are there for lisp Yet there are a ton of books written about Lisp in all kinds of topics and applications. Not to mention really well-written tutorials like "Practical Common Lisp&qu
607.
▲
by
flavio81
9y ago
Good point in this guide: A little known fact is that, in CL, it's also "objects all the way down": It turns out that all Common Lisp data objects are instances of classes. Consequently, you can define methods for all kinds
608.
▲
by
flavio81
9y ago
You're welcome! Forgot to mention, the other reason executable files (if produced) get big, is that compilation of a Lisp program not only produces the machine language form of your program, but it also includes a Lisp runtime. The run
609.
▲
by
flavio81
9y ago
You only threw attacks and condescending comments instead of explaining Smalltalk's IDE way of keeping files, which I did. You are doing a disservice to the Smalltalk community with such an attitude.
610.
▲
by
flavio81
9y ago
Smalltalk's image file(s) contain only the compiled code, not the original source code, which is on the changes and source files. You could decompile the image and get most of the source but not in its original, complete form. If you
611.
▲
by
flavio81
9y ago
Java was far more influenced by Objective C and Smalltalk than by C++ as far as OO goes Objective-C is message-passing, Java and C++ are not.
612.
▲
by
flavio81
9y ago
The IDE keeps the text files, and that's what your source code is made of. Go to any Smalltalk github project and you will find .st files, which are plain text files, and there's your code. I'm a Lisper, i do know what Image
613.
▲
by
flavio81
9y ago
> like every other file based language As I mentioned above, Smalltalk is also file-based; when you distribute a smalltalk program source, you distribute a set of source text files. Just like any other typical programming language.
614.
▲
by
flavio81
9y ago
When you load Lisp files, they get compiled; this compilation is saved as binary files (often, "fast load files"), that do what it says on the tin: They allow you to, next time, load your program really quickly. Now, your program
615.
▲
by
flavio81
9y ago
Yes but on the other hand Smalltalk is an established language with a long history, i wouldn't be surprised if you are able to find all the libraries you need.
616.
▲
by
flavio81
9y ago
1) Last time I tried it was reasonably fast for a dynamic language - somewhat slower than javascript (V8) but faster than python (cpython) to give you a ballpark If this is true, then it's much slower than LuaJIT, Lisp (SBCL) and pro
617.
▲
by
flavio81
9y ago
> Smalltalk does not use text-based source files, with object source code saved as part of a binary vm image. This is a misleading claim often made by the author of this Medium article. Smalltalk code does reside in text files and the I
618.
▲
by
flavio81
9y ago
>Smalltalk has the cleanest, purest implementation of object-oriented concepts; not even Java, Ruby, nor CLOS can lay claim to that. I'll take "powerful" versus "cleanest and purest" any day, thank you very muc
619.
▲
by
flavio81
9y ago
Can't help but recall this quote: "Bad response time doesn't bother the Real Programmer -- it gives him a chance to catch a little sleep between compiles. " -- from "Real Programmers Don't use Pascal" h
620.
▲
by
flavio81
9y ago
>Why do people keep thinking they can use a garbage-collected language for “systems programming”? Why do you think it can't be done? It was already used for systems-programming in the early 80s; whole machines were programmed in L
621.
▲
by
flavio81
9y ago
Great to read this; i want to start doing a bit of Clojure and this is a great suggestion: to start from the browser-side.
622.
▲
by
flavio81
9y ago
>"Ship it! Introspect and improve. Ship it again! Rinse and repeat." Amazing, so i can do better than Agile... by doing Agile.
623.
▲
by
flavio81
9y ago
The simple fact of placing a smug salesman like Steve Jobs in the same line than a true revolutionary genius like Leonardo Da Vinci, makes me sick. Makes me wanna puke.
624.
▲
by
flavio81
9y ago
I agree with the assessment. The fashion today is "everybody needs to learn to 'code'", but that's only because companies are in dire need of a very specific profile: The junior coder that writes basic HTML, CSS and
625.
▲
by
flavio81
9y ago
But this is what will happen eventually. No programmer with more than 5 years of professional experience really likes working with Javascript; they just put up with it. As soon as you can work in <insert your favorite language here> a
626.
▲
by
flavio81
9y ago
>I'm converting a codebase of Javascript of about 200+ js files to Typescript today. Pity you! I fear such tasks. As mentioned,take advantage of async/await. Also, make sure you wrap everything in modules and access from outsid
627.
▲
by
flavio81
9y ago
Good "statics": Haskell, ML family, maybe Rust. Good "dynamics": All the Lisp-family languages. Smalltalk. Julia. Lua. Tcl.
628.
▲
by
flavio81
9y ago
You are welcome, sir! How about this chapter of the famous book "Practical Common Lisp", available online for free? http://www.gigamonkeys.com/book/beyond-exception-handling-co...
629.
▲
by
flavio81
9y ago
>2. There is absolutely nothing wrong with a language being designed by a committee It sort of has a bad stigma, because two well-known, unloved languages were designed by committee: COBOL and PL/I.
630.
▲
by
flavio81
9y ago
I think he refers to some of the usual criticisms of Common Lisp: 1. The language specification is very big. This is true, it is a very big specification. On the other hand, this is mostly caused because the language spec also includes the
More ›