Reddit Programming
201 subscribers
1.22K photos
126K links
I will send you newest post from subreddit /r/programming
Download Telegram
Can any AST be refactored to a purely prefix or postfix execution?
https://www.reddit.com/r/programming/comments/1fsyihi/can_any_ast_be_refactored_to_a_purely_prefix_or/

<!-- SC_OFF -->So I have been writing a programming language as a hobby. It really isn’t much but in short the idea is that any program can be expressed in either infix, prefix, or in postfix format. While at runtime all code is executed in postfix. I am wondering if there isn’t any code which cannot be refactored to be able to run postfix? I was wondering this because I have been thinking about type and memory safety. Thinking regardless of how a program is compiled if the AST can be refactored to a postfix format then it would be easier to know if something if both defined and in a valid state. Or conversely if made prefix then abstracted away variable scope using combinators the state and validity of data can be validated as a look ahead. Such a check would be monitoring a variable in three formats definition, domain and range. Which the compiler can do at compilation. I’m learning towards postfix checking because then much of the work just revolves around monitoring to state of the stack. Which seems easier than lambda abstraction evaluation. <!-- SC_ON --> submitted by /u/maxjmartin (https://www.reddit.com/user/maxjmartin)
[link] (https://github.com/maxjmartin/Oliver-Code-Examples) [comments] (https://www.reddit.com/r/programming/comments/1fsyihi/can_any_ast_be_refactored_to_a_purely_prefix_or/)
Windows or MacOS
https://www.reddit.com/r/programming/comments/1fszv3l/windows_or_macos/

<!-- SC_OFF -->Which is better for coding?? I mean, I understand there’s more like Linux. But I’m deciding between these two in order to buy a laptop. I really appreciate your opinion. And btw, I’m new to this world so… please, be kind. There’s too much things I don’t know yet <!-- SC_ON --> submitted by /u/Saurobit (https://www.reddit.com/user/Saurobit)
[link] (http://apple.com/) [comments] (https://www.reddit.com/r/programming/comments/1fszv3l/windows_or_macos/)
Stroke Width Transform - A Text Detection Algorithm (written in Python and runs with parallel processing) have a look and give a star if you like it!
https://www.reddit.com/r/programming/comments/1ft8bar/stroke_width_transform_a_text_detection_algorithm/

submitted by /u/Affectionate_Good790 (https://www.reddit.com/user/Affectionate_Good790)
[link] (https://github.com/vrlelif/stroke-width-transform) [comments] (https://www.reddit.com/r/programming/comments/1ft8bar/stroke_width_transform_a_text_detection_algorithm/)
Struggling to find a job
https://www.reddit.com/r/programming/comments/1ftgwfk/struggling_to_find_a_job/

<!-- SC_OFF -->Hi guys, I’ve been trying to get into IT after finishing my bachelors and I struggled quite hard to find a job. I’ve done 2 internships doing bullshit jobs that didn’t teach me much besides Microsoft office work. My goal was to get into programming, but I don’t have the chance to do it at work, and after 8 hours of sitting in front of the screen I’m done with everything, mentally drained… now I got employed as a manual software tester, but still I have very little contact with the devs and no opportunity to at least see a chunk of code. What should I do? The market for programming jobs looks horrible for new comers let alone one like me without a Computer Science degree? My programming skills are super basic, built a few web apps, can do some web automation with selenium, stuff like that. But I’m worried that there’s not gonna be place for me in these kind of jobs. <!-- SC_ON --> submitted by /u/Prestigious-Ad-1470 (https://www.reddit.com/user/Prestigious-Ad-1470)
[link] (https://www.linkedin.com/in/alex-mihai-3163a1192?utm_source=share&utm_campaign=share_via&utm_content=profile&utm_medium=ios_app) [comments] (https://www.reddit.com/r/programming/comments/1ftgwfk/struggling_to_find_a_job/)