I used to hate C and thought it was primitive, ugly, dangerous, tedious to write in and annoying to read. While writing a big project in it ( https://github.com/RedisLabsModules/RediSearch/ ) , I've discovered the zen of C I guess. Instead of primitive I started seeing it as minimalist; I've found beauty in it; and of course the great power that comes with the great responsibility of managing your own memory. And wor…
Same, except I realized this after starting my first (and current) job as a C developer. I now get way more annoyed by the in-house build system than the huge C codebase.
Ask HN: What made you change your mind about a programming language/paradigm?
31–40 of 401 posts
Re: Ask HN: What made you change your mind about a programming language/paradigm?
#32I avoided having to learn Javascript in-depth because I thought its type system was like coding in the dark. Your IDE would either return all possible methods of all possible objects in your whole project, or wouldn't return anything at all. You need to either memorize the API of whatever object you're currently working with, or have its API open in a separate window to always see what's what. Wait, no, I still think…
Re: Ask HN: What made you change your mind about a programming language/paradigm?
#33Re: Ask HN: What made you change your mind about a programming language/paradigm?
#34I realized just how useful shell scripting is (bash) when it occurred to me a simple five line script I wrote to erase and reclone my main work repo is the single most useful piece of code I’ve written in my first year as a web developer. God that’s a time saver.
Re: Ask HN: What made you change your mind about a programming language/paradigm?
#35Re: Ask HN: What made you change your mind about a programming language/paradigm?
#36Re: Ask HN: What made you change your mind about a programming language/paradigm?
#37The lack of secure composability in almost all existing languages. You cannot import untrusted code and run it in a sandbox. Unless you are completely functional, you cannot restrict the effects of your own code either. The solution to this seems to be the object capability (key) security paradigm, where you combine authority and designation (say, the right to open a specific file, a path combined with an access righ…
Functional pearl: http://www.cse.chalmers.se/~russo/publications_files/pearl-r... Slides: https://1drv.ms/p/s!Ahd2uwlk3jmIlCZr0spYc_I-OveR Source: https://bitbucket.org/russo/mac-lib
Re: Ask HN: What made you change your mind about a programming language/paradigm?
#38I used to hate C and thought it was primitive, ugly, dangerous, tedious to write in and annoying to read. While writing a big project in it ( https://github.com/RedisLabsModules/RediSearch/ ) , I've discovered the zen of C I guess. Instead of primitive I started seeing it as minimalist; I've found beauty in it; and of course the great power that comes with the great responsibility of managing your own memory. And wor…
The C language itself is _beautiful_ but I am missing a beautiful standard library! Things which are trivial one-liners in other languages are sometimes 10-20 lines of brittle boilerplate code in C. If the standard library would have a bit more batteries included it would make trivial task easier and I could concentrate on actually getting work done. Opening a file and doing some text processing take usually a few lines in Python/PHP but in C you have 3 screens of funky code which will explode if something unforseen happens.
And working with additional libraries also a nightmare compared to composer/cargo. Adding a new library (and keeping all your libraries up to date) is dead-simple in basically any language besides C/C++.
tldr: I love the language itself but the tooling around it sucks.
Re: Ask HN: What made you change your mind about a programming language/paradigm?
#39As someone who appreciated C and C-style languages I hated on python for a long time. I disliked python because of syntactical annoyances,mistakes I would notmally iron out at compile time now happen at run time and version fragmentation with no backward compatibility at times. On that last point,new java versions for example would deprecate features over time allowing the programmer the option of enabling these feat…
That's how I felt coming from perl to python, but I did learn to like it after working with it a bit.
Re: Ask HN: What made you change your mind about a programming language/paradigm?
#40I used to hate C and thought it was primitive, ugly, dangerous, tedious to write in and annoying to read. While writing a big project in it ( https://github.com/RedisLabsModules/RediSearch/ ) , I've discovered the zen of C I guess. Instead of primitive I started seeing it as minimalist; I've found beauty in it; and of course the great power that comes with the great responsibility of managing your own memory. And wor…